Support downloading of attachments.
authorRicardo Wurmus <rekado@elephly.net>
Tue, 4 Sep 2018 00:02:45 +0000 (02:02 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Tue, 4 Sep 2018 00:02:45 +0000 (02:02 +0200)
commit546e4813da6a02665d649cabbf80c2f9402b0f25
treebff215a402b9b71c9cc20f53790d8da888c84913
parentfa1677f9bf1410c74129eea429bd713553a051d4
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.
Makefile.am
assets/css/screen.css
assets/img/file.svg [new file with mode: 0644]
mumi/web/controller.scm
mumi/web/download.scm [new file with mode: 0644]
mumi/web/view/html.scm
mumi/web/view/utils.scm