aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/util.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/alps/util.html')
-rw-r--r--themes/alps/util.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/alps/util.html b/themes/alps/util.html
index 68736f1..89e5cac 100644
--- a/themes/alps/util.html
+++ b/themes/alps/util.html
@@ -8,7 +8,11 @@
{{- end -}}
{{- if .HasAttr "\\HasChildren" }}/{{ end }}
+ {{ if eq .Name "Outbox" }}
+ {{ if and (ne .Total -1) (ne .Total 0) }}({{ .Total }} unsent){{ end }}
+ {{ else }}
{{ if and (ne .Unseen -1) (ne .Unseen 0) }}({{ .Unseen }}){{ end }}
+ {{ end }}
</a>
{{ else }}
<span class="noselect">
@@ -26,6 +30,7 @@
{{ with .CategorizedMailboxes }}
{{ with .Common.Inbox }}{{ template "mbox-link" . }}{{ end}}
{{ with .Common.Drafts }}{{ template "mbox-link" . }}{{ end}}
+ {{ with .Common.Outbox }}{{ template "mbox-link" . }}{{ end}}
{{ with .Common.Sent }}{{ template "mbox-link" . }}{{ end}}
{{ with .Common.Junk }}{{ template "mbox-link" . }}{{ end}}
{{ with .Common.Trash }}{{ template "mbox-link" . }}{{ end}}