aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/alps/util.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/alps/util.html b/themes/alps/util.html
index 9cdfd86..b0022ec 100644
--- a/themes/alps/util.html
+++ b/themes/alps/util.html
@@ -32,12 +32,12 @@
">Compose&nbsp;mail</a>
</li>
{{ with .CategorizedMailboxes }}
- {{ with .Common.Inbox }}{{ template "mbox-link" . }}{{ end }}
- {{ with .Common.Drafts }}{{ 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 }}
- {{ with .Common.Archive }}{{ template "mbox-link" . }}{{ end }}
+ {{ if .Common.Inbox.Info }}{{ with .Common.Inbox }}{{ template "mbox-link" . }}{{ end }}{{ end }}
+ {{ if .Common.Drafts.Info }}{{ with .Common.Drafts }}{{ template "mbox-link" . }}{{ end }}{{ end }}
+ {{ if .Common.Sent.Info }}{{ with .Common.Sent }}{{ template "mbox-link" . }}{{ end }}{{ end }}
+ {{ if .Common.Junk.Info }}{{ with .Common.Junk }}{{ template "mbox-link" . }}{{ end }}{{ end }}
+ {{ if .Common.Trash.Info }}{{ with .Common.Trash }}{{ template "mbox-link" . }}{{ end }}{{ end }}
+ {{ if .Common.Archive.Info }}{{ with .Common.Archive }}{{ template "mbox-link" . }}{{ end }}{{ end }}
{{ if .Additional }}
<hr />
{{ range .Additional }}