aboutsummaryrefslogtreecommitdiff
path: root/themes/alps
diff options
context:
space:
mode:
Diffstat (limited to 'themes/alps')
-rw-r--r--themes/alps/message.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/themes/alps/message.html b/themes/alps/message.html
index 29c0617..6d383ae 100644
--- a/themes/alps/message.html
+++ b/themes/alps/message.html
@@ -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>