From 51d762ac5fd21c6cac898b2e5eed2eabdb0fe841 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 19 Nov 2020 13:14:12 -0500 Subject: Implement mailbox subscriptions --- themes/alps/util.html | 37 +++++++++++-------------------------- 1 file changed, 11 insertions(+), 26 deletions(-) (limited to 'themes/alps/util.html') diff --git a/themes/alps/util.html b/themes/alps/util.html index 535714f..9cdfd86 100644 --- a/themes/alps/util.html +++ b/themes/alps/util.html @@ -1,43 +1,28 @@ {{ define "mbox-link" }} -{{ if not (.HasAttr "\\Noselect") }} -
  • - - {{- if eq .Name "INBOX" -}} +{{ if not (.Info.HasAttr "\\Noselect") }} +
  • + + {{- if eq .Info.Name "INBOX" -}} Inbox {{- else -}} - {{ .Name }} + {{ .Info.Name }} {{- end -}} - {{- if .HasAttr "\\HasChildren" }}/{{ end }} + {{- if .Info.HasAttr "\\HasChildren" }}/{{ end }} -
  • {{ else }}
  • - {{.Name}}{{- if .HasAttr "\\HasChildren" }}/{{ end }} + {{.Info.Name}}{{- if .Info.HasAttr "\\HasChildren" }}/{{ end }}
  • {{ end }} {{ end }} {{ define "aside" }} -