aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/routes.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/base/routes.go b/plugins/base/routes.go
index a389495..780cffb 100644
--- a/plugins/base/routes.go
+++ b/plugins/base/routes.go
@@ -137,8 +137,13 @@ func handleGetMailbox(ctx *alps.Context) error {
}
}
+ title := mbox.Name
+ if title == "INBOX" {
+ title = "Inbox"
+ }
+
return ctx.Render(http.StatusOK, "mailbox.html", &MailboxRenderData{
- BaseRenderData: *alps.NewBaseRenderData(ctx).WithTitle(mbox.Name),
+ BaseRenderData: *alps.NewBaseRenderData(ctx).WithTitle(title),
Mailbox: mbox,
Mailboxes: mailboxes,
Messages: msgs,