diff options
Diffstat (limited to 'plugins/base/public')
-rw-r--r-- | plugins/base/public/message.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/base/public/message.html b/plugins/base/public/message.html index 9544d0a..3dc7f62 100644 --- a/plugins/base/public/message.html +++ b/plugins/base/public/message.html @@ -111,7 +111,13 @@ <hr> {{if .Body}} - <p><a href="{{.Message.Uid}}/reply?part={{.PartPath}}">Reply</a></p> + <p> + {{if .Message.HasFlag "\\Draft"}} + <a href="{{.Message.Uid}}/edit?part={{.PartPath}}">Edit draft</a> + {{else}} + <a href="{{.Message.Uid}}/reply?part={{.PartPath}}">Reply</a> + {{end}} + </p> {{if .IsHTML}} <!-- allow-same-origin is required to resize the frame with its content --> <!-- allow-popups is required for target="_blank" links --> |