aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/message.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-05-20 16:25:25 +0200
committerSimon Ser <contact@emersion.fr>2020-05-20 16:25:25 +0200
commit8589228c73a8abb5de890bfbd3fa8ab2807dfda0 (patch)
tree2332b85ca8e47aa1ff4766cf341dbfa306d48501 /themes/alps/message.html
parentac7a3fb1562696af5dd57d20ddd74979fd7b5650 (diff)
downloadalps-8589228c73a8abb5de890bfbd3fa8ab2807dfda0.tar.gz
alps-8589228c73a8abb5de890bfbd3fa8ab2807dfda0.zip
Replace IMAPMessage.TextPartName with TextPart
Diffstat (limited to 'themes/alps/message.html')
-rw-r--r--themes/alps/message.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/alps/message.html b/themes/alps/message.html
index a60af4e..6e88297 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={{.Message.TextPartName}}">Edit draft</a>
+ <a class="action-group button-link" href="{{.Message.URL}}/edit?part={{.Message.TextPart.PathString}}">Edit draft</a>
{{else}}
- <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>
+ <a class="action-group button-link" href="{{.Message.URL}}/reply?part={{.Message.TextPart.PathString}}">Reply</a>
+ <a class="action-group button-link" href="{{.Message.URL}}/forward?part={{.Message.TextPart.PathString}}">Forward</a>
{{end}}
</span>
</div>