aboutsummaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
authorLibravatarLibravatar Silvan Jegen <[email protected]> 2024-02-04 21:22:20 +0100
committerLibravatarLibravatar Simon Ser <[email protected]> 2024-03-18 10:00:45 +0100
commit25c4f79f0ee5a879442ae8671e58aa742809b766 (patch)
tree4eab460079e116f63b9ac4225c6324ae58aebb03 /themes
parentc25986a65701dd7cd44a9f9af49bd0e2717d0264 (diff)
downloadalps-25c4f79f0ee5a879442ae8671e58aa742809b766.tar.gz
alps-25c4f79f0ee5a879442ae8671e58aa742809b766.tar.bz2
alps-25c4f79f0ee5a879442ae8671e58aa742809b766.zip
Implement reply-all functionality for the alps theme
We slightly refactor the code to make it easier to read, while we are at it. This should address https://todo.sr.ht/~migadu/alps/155.
Diffstat (limited to 'themes')
-rw-r--r--themes/alps/compose.html1
-rw-r--r--themes/alps/message.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/themes/alps/compose.html b/themes/alps/compose.html
index 7d7c822..e424960 100644
--- a/themes/alps/compose.html
+++ b/themes/alps/compose.html
@@ -34,6 +34,7 @@
type="text"
name="cc"
id="cc"
+ value="{{ join .Message.Cc ", " }}"
/>
<label>Bcc</label>
diff --git a/themes/alps/message.html b/themes/alps/message.html
index 8f67e8d..daa69ef 100644
--- a/themes/alps/message.html
+++ b/themes/alps/message.html
@@ -83,6 +83,7 @@
<a class="action-group button-link" href="{{.Message.URL}}/edit{{if .Message.TextPart}}?part={{.Message.TextPart.PathString}}{{end}}">Edit draft</a>
{{else}}
<a class="action-group button-link" href="{{.Message.URL}}/reply{{if .Message.TextPart}}?part={{.Message.TextPart.PathString}}{{end}}">Reply</a>
+ <a class="action-group button-link" href="{{.Message.URL}}/reply{{if .Message.TextPart}}?part={{.Message.TextPart.PathString}}&all=true{{end}}">Reply all</a>
<a class="action-group button-link" href="{{.Message.URL}}/forward{{if .Message.TextPart}}?part={{.Message.TextPart.PathString}}{{end}}">Forward</a>
{{end}}
</span>