aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-05 11:58:53 +0100
committerSimon Ser <contact@emersion.fr>2020-02-05 11:58:53 +0100
commit6ea7cd9134318874a21aa08ea0d9feecadd8874d (patch)
treeedafbf7459228e1f53b6653240005376a5cb5596 /plugins
parent651872ef7d36c3248f8b6ce015febaeea6ac64ed (diff)
downloadalps-6ea7cd9134318874a21aa08ea0d9feecadd8874d.tar.gz
alps-6ea7cd9134318874a21aa08ea0d9feecadd8874d.zip
plugins/base: add icons for attachments/re/fwd/starred
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/public/mailbox.html20
1 files changed, 13 insertions, 7 deletions
diff --git a/plugins/base/public/mailbox.html b/plugins/base/public/mailbox.html
index 9e2a0a2..2ef640a 100644
--- a/plugins/base/public/mailbox.html
+++ b/plugins/base/public/mailbox.html
@@ -26,13 +26,19 @@
<p>Messages:</p>
<ul>
{{range .Messages}}
- <li><a href="/message/{{$.Mailbox.Name | pathescape}}/{{.Uid}}?part={{.TextPartName}}">
- {{if .Envelope.Subject}}
- {{.Envelope.Subject}}
- {{else}}
- (No subject)
- {{end}}
- </a></li>
+ <li>
+ <a href="/message/{{$.Mailbox.Name | pathescape}}/{{.Uid}}?part={{.TextPartName}}">
+ {{if .Envelope.Subject}}
+ {{.Envelope.Subject}}
+ {{else}}
+ (No subject)
+ {{end}}
+ </a>
+ {{if .Attachments}}📎{{end}}
+ {{if .HasFlag "\\Answered"}}↩{{end}}
+ {{if .HasFlag "$Forwarded"}}↪{{end}}
+ {{if .HasFlag "\\Flagged"}}⭐{{end}}
+ </li>
{{end}}
</ul>