aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/mailbox.html
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-11 17:11:46 +0100
committerSimon Ser <contact@emersion.fr>2020-02-11 17:14:01 +0100
commit19548694e08df0c7f9515cfd22759a73f927b9ba (patch)
treea1c72304b0c2a67d793292504996b934bcc9dc38 /themes/sourcehut/mailbox.html
parent97eef13db46d0efb67d92f4f5ce69f216b20d359 (diff)
downloadalps-19548694e08df0c7f9515cfd22759a73f927b9ba.tar.gz
alps-19548694e08df0c7f9515cfd22759a73f927b9ba.zip
themes/sourcehut: sync with latest base plugin
Diffstat (limited to 'themes/sourcehut/mailbox.html')
-rw-r--r--themes/sourcehut/mailbox.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/themes/sourcehut/mailbox.html b/themes/sourcehut/mailbox.html
index 315e344..b53f8bd 100644
--- a/themes/sourcehut/mailbox.html
+++ b/themes/sourcehut/mailbox.html
@@ -11,11 +11,14 @@
<a
class="nav-link active"
href="/mailbox/{{.Mailbox.Name | pathescape }}"
- >Mailbox</a>
+ >Mail</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/compose">Compose</a>
</li>
+ <li class="nav-item">
+ <a class="nav-link" href="/settings">Settings</a>
+ </li>
</ul>
</div>
</div>
@@ -63,11 +66,13 @@
{{ .PersonalName }}
{{ end }}
</span>
- {{if .Envelope.Subject}}
- {{.Envelope.Subject}}
- {{else}}
- (No subject)
- {{end}}
+ <span class="{{if not (.HasFlag "\\Seen")}}font-weight-bold{{end}}">
+ {{if .Envelope.Subject}}
+ {{.Envelope.Subject}}
+ {{else}}
+ (No subject)
+ {{end}}
+ </span>
</a></li>
{{end}}
</ul>