From 546e4813da6a02665d649cabbf80c2f9402b0f25 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 4 Sep 2018 02:02:45 +0200 Subject: Support downloading of attachments. * assets/css/screen.css (.attachment:before): Add rule. * assets/img/file.svg: New file. * mumi/web/controller.scm (controller): Handle attachment route. * mumi/web/download.scm: New file. * mumi/web/view/utils.scm (display-multipart-chunk): Move into... (display-message-body): ...this procedure; adjust to include attachment download links. * mumi/web/view/html.scm (issue-page): Adjust. --- assets/img/file.svg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 assets/img/file.svg (limited to 'assets/img') diff --git a/assets/img/file.svg b/assets/img/file.svg new file mode 100644 index 0000000..ce8c9b4 --- /dev/null +++ b/assets/img/file.svg @@ -0,0 +1,8 @@ + + + + + + + -- cgit v1.2.3