diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-20 16:18:01 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-20 16:18:24 +0200 |
commit | ac7a3fb1562696af5dd57d20ddd74979fd7b5650 (patch) | |
tree | 05998f978ae2fe79b1daffbbeca21b8aea30f722 /themes/alps/message.html | |
parent | 2d86413876411339a27a09a025e0e77bd22a04ca (diff) | |
download | alps-ac7a3fb1562696af5dd57d20ddd74979fd7b5650.tar.gz alps-ac7a3fb1562696af5dd57d20ddd74979fd7b5650.zip |
Always reply to plain-text part, if any
Closes: https://todo.sr.ht/~emersion/alps/51
Diffstat (limited to 'themes/alps/message.html')
-rw-r--r-- | themes/alps/message.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/alps/message.html b/themes/alps/message.html index cdfba33..a60af4e 100644 --- a/themes/alps/message.html +++ b/themes/alps/message.html @@ -123,10 +123,10 @@ <span class="followups"> {{if .Message.HasFlag "\\Draft"}} - <a class="action-group button-link" href="{{.Message.URL}}/edit?part={{.Part.PathString}}">Edit draft</a> + <a class="action-group button-link" href="{{.Message.URL}}/edit?part={{.Message.TextPartName}}">Edit draft</a> {{else}} - <a class="action-group button-link" href="{{.Message.URL}}/reply?part={{.Part.PathString}}">Reply</a> - <a class="action-group button-link" href="{{.Message.URL}}/forward?part={{.Part.PathString}}">Forward</a> + <a class="action-group button-link" href="{{.Message.URL}}/reply?part={{.Message.TextPartName}}">Reply</a> + <a class="action-group button-link" href="{{.Message.URL}}/forward?part={{.Message.TextPartName}}">Forward</a> {{end}} </span> </div> |