(Patch by Florian Le Minioux) Fix HTTP 500 when missing some folders
This commit is contained in:
parent
1988b2a158
commit
54d085f7f3
|
@ -32,12 +32,12 @@
|
||||||
">Compose mail</a>
|
">Compose mail</a>
|
||||||
</li>
|
</li>
|
||||||
{{ with .CategorizedMailboxes }}
|
{{ with .CategorizedMailboxes }}
|
||||||
{{ with .Common.Inbox }}{{ template "mbox-link" . }}{{ end }}
|
{{ if .Common.Inbox.Info }}{{ with .Common.Inbox }}{{ template "mbox-link" . }}{{ end }}{{ end }}
|
||||||
{{ with .Common.Drafts }}{{ template "mbox-link" . }}{{ end }}
|
{{ if .Common.Drafts.Info }}{{ with .Common.Drafts }}{{ template "mbox-link" . }}{{ end }}{{ end }}
|
||||||
{{ with .Common.Sent }}{{ template "mbox-link" . }}{{ end }}
|
{{ if .Common.Sent.Info }}{{ with .Common.Sent }}{{ template "mbox-link" . }}{{ end }}{{ end }}
|
||||||
{{ with .Common.Junk }}{{ template "mbox-link" . }}{{ end }}
|
{{ if .Common.Junk.Info }}{{ with .Common.Junk }}{{ template "mbox-link" . }}{{ end }}{{ end }}
|
||||||
{{ with .Common.Trash }}{{ template "mbox-link" . }}{{ end }}
|
{{ if .Common.Trash.Info }}{{ with .Common.Trash }}{{ template "mbox-link" . }}{{ end }}{{ end }}
|
||||||
{{ with .Common.Archive }}{{ template "mbox-link" . }}{{ end }}
|
{{ if .Common.Archive.Info }}{{ with .Common.Archive }}{{ template "mbox-link" . }}{{ end }}{{ end }}
|
||||||
{{ if .Additional }}
|
{{ if .Additional }}
|
||||||
<hr />
|
<hr />
|
||||||
{{ range .Additional }}
|
{{ range .Additional }}
|
||||||
|
|
Loading…
Reference in a new issue