diff options
Diffstat (limited to 'themes/alps/messages-header.html')
-rw-r--r-- | themes/alps/messages-header.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/alps/messages-header.html b/themes/alps/messages-header.html index 13e4872..df70e06 100644 --- a/themes/alps/messages-header.html +++ b/themes/alps/messages-header.html @@ -26,6 +26,12 @@ <div class="action-group"> <a href="{{ .GlobalData.URL.String }}" class="button-link">Refresh</a> </div> + + <div class="action-group"> + {{ if not (eq .Mailbox.Name "INBOX") }} + <a class="button-link" href="/delete-mailbox/{{.Mailbox.Name | pathescape}}">Delete folder</a> + {{ end }} + </div> </div> <form method="get" class="actions-search"> |