themes/alps: add link to edit drafts

This commit is contained in:
Simon Ser 2020-03-27 11:25:07 +01:00
parent f079bcc704
commit c053b7332e
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -104,9 +104,13 @@
</form>
&nbsp;&nbsp;
<a href="{{.Message.Uid}}/reply?part={{.Part.PathString}}">Reply</a>
&nbsp;&nbsp;
<a href="{{.Message.Uid}}/forward?part={{.Part.PathString}}">Forward</a>
{{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>
&nbsp;&nbsp;
<a href="{{.Message.URL}}/forward?part={{.Part.PathString}}">Forward</a>
{{end}}
</div>
</div>
</th>