aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-05-13 10:58:22 -0400
committerSimon Ser <contact@emersion.fr>2020-05-13 16:58:48 +0200
commit1cf95af41ea24ab76cba8a0761d349b65c08c294 (patch)
treef7a5fd00a63498f00768aeba140b68a5d4a74431 /plugins
parent0191b739969e00cdba0faa5a05159fd5f83d5d9e (diff)
downloadalps-1cf95af41ea24ab76cba8a0761d349b65c08c294.tar.gz
alps-1cf95af41ea24ab76cba8a0761d349b65c08c294.zip
Add <meta refresh> 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.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/base/public/compose.html2
-rw-r--r--plugins/base/public/login.html2
-rw-r--r--plugins/base/public/mailbox.html2
-rw-r--r--plugins/base/public/message.html2
-rw-r--r--plugins/base/public/settings.html2
-rw-r--r--plugins/caldav/public/calendar.html2
-rw-r--r--plugins/caldav/public/event.html2
-rw-r--r--plugins/carddav/public/address-book.html2
-rw-r--r--plugins/carddav/public/address-object.html2
-rw-r--r--plugins/carddav/public/update-address-object.html2
10 files changed, 10 insertions, 10 deletions
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" .}}
<h1>alps</h1>
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" .}}
<h1>alps</h1>
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" .}}
<h1>alps</h1>
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" .}}
<h1>alps</h1>
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" .}}
<h1>alps</h1>
diff --git a/plugins/caldav/public/calendar.html b/plugins/caldav/public/calendar.html
index 8a0a390..c23c555 100644
--- a/plugins/caldav/public/calendar.html
+++ b/plugins/caldav/public/calendar.html
@@ -1,4 +1,4 @@
-{{template "head.html"}}
+{{template "head.html" .}}
<h1>alps</h1>
diff --git a/plugins/caldav/public/event.html b/plugins/caldav/public/event.html
index a07f663..f3c7652 100644
--- a/plugins/caldav/public/event.html
+++ b/plugins/caldav/public/event.html
@@ -1,4 +1,4 @@
-{{template "head.html"}}
+{{template "head.html" .}}
<h1>alps</h1>
diff --git a/plugins/carddav/public/address-book.html b/plugins/carddav/public/address-book.html
index a9ab9c5..e1e735f 100644
--- a/plugins/carddav/public/address-book.html
+++ b/plugins/carddav/public/address-book.html
@@ -1,4 +1,4 @@
-{{template "head.html"}}
+{{template "head.html" .}}
<h1>alps</h1>
diff --git a/plugins/carddav/public/address-object.html b/plugins/carddav/public/address-object.html
index b6e731e..5423d9f 100644
--- a/plugins/carddav/public/address-object.html
+++ b/plugins/carddav/public/address-object.html
@@ -1,4 +1,4 @@
-{{template "head.html"}}
+{{template "head.html" .}}
<h1>alps</h1>
diff --git a/plugins/carddav/public/update-address-object.html b/plugins/carddav/public/update-address-object.html
index 4769e97..dd4d087 100644
--- a/plugins/carddav/public/update-address-object.html
+++ b/plugins/carddav/public/update-address-object.html
@@ -1,4 +1,4 @@
-{{template "head.html"}}
+{{template "head.html" .}}
<h1>alps</h1>