diff options
author | Simon Ser <contact@emersion.fr> | 2020-03-18 15:01:15 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-03-18 15:01:15 +0100 |
commit | ae8658f468a6ee763dcf0cc90ec8f55ab0ff69cd (patch) | |
tree | 12906da1f3ff70b93abeba6f0e68654c33f2065a /plugins/base/public | |
parent | 4b887f57711ab635768456245104014b85ef1faa (diff) | |
download | alps-ae8658f468a6ee763dcf0cc90ec8f55ab0ff69cd.tar.gz alps-ae8658f468a6ee763dcf0cc90ec8f55ab0ff69cd.zip |
plugins/base: add route to forward messages
Only inline forwarding is supported for now.
References: https://todo.sr.ht/~sircmpwn/koushin/37
Diffstat (limited to 'plugins/base/public')
-rw-r--r-- | plugins/base/public/message.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/base/public/message.html b/plugins/base/public/message.html index f019acf..b537ff0 100644 --- a/plugins/base/public/message.html +++ b/plugins/base/public/message.html @@ -115,7 +115,8 @@ {{if .Message.HasFlag "\\Draft"}} <a href="{{.Message.URL}}/edit?part={{.Part.PathString}}">Edit draft</a> {{else}} - <a href="{{.Message.URL}}/reply?part={{.Part.PathString}}">Reply</a> + <a href="{{.Message.URL}}/reply?part={{.Part.PathString}}">Reply</a> · + <a href="{{.Message.URL}}/forward?part={{.Part.PathString}}">Forward</a> {{end}} </p> {{.View}} |