From 1cf95af41ea24ab76cba8a0761d349b65c08c294 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 13 May 2020 10:58:22 -0400 Subject: Add to mailbox view This causes the mailbox to automatically reload the page every 60 seconds, without JavaScript. This also updates the base template data to include the full URL, and replaces the earlier "Path" field with a pre-split array of path components, which is more immediately useful to most templates given the limitations of string munging with text/template primitives. --- plugins/base/public/compose.html | 2 +- plugins/base/public/login.html | 2 +- plugins/base/public/mailbox.html | 2 +- plugins/base/public/message.html | 2 +- plugins/base/public/settings.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/base/public') diff --git a/plugins/base/public/compose.html b/plugins/base/public/compose.html index 2deb24a..df1e360 100644 --- a/plugins/base/public/compose.html +++ b/plugins/base/public/compose.html @@ -1,4 +1,4 @@ -{{template "head.html"}} +{{template "head.html" .}}

alps

diff --git a/plugins/base/public/login.html b/plugins/base/public/login.html index 0391ed1..77f53ba 100644 --- a/plugins/base/public/login.html +++ b/plugins/base/public/login.html @@ -1,4 +1,4 @@ -{{template "head.html"}} +{{template "head.html" .}}

alps

diff --git a/plugins/base/public/mailbox.html b/plugins/base/public/mailbox.html index 1e376ba..45729d1 100644 --- a/plugins/base/public/mailbox.html +++ b/plugins/base/public/mailbox.html @@ -1,4 +1,4 @@ -{{template "head.html"}} +{{template "head.html" .}}

alps

diff --git a/plugins/base/public/message.html b/plugins/base/public/message.html index 4d5edfa..38b41c5 100644 --- a/plugins/base/public/message.html +++ b/plugins/base/public/message.html @@ -1,4 +1,4 @@ -{{template "head.html"}} +{{template "head.html" .}}

alps

diff --git a/plugins/base/public/settings.html b/plugins/base/public/settings.html index 6a7f8ba..7acacb5 100644 --- a/plugins/base/public/settings.html +++ b/plugins/base/public/settings.html @@ -1,4 +1,4 @@ -{{template "head.html"}} +{{template "head.html" .}}

alps

-- cgit v1.2.3