aboutsummaryrefslogtreecommitdiff
path: root/templates/header.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-11-14 14:08:16 +0000
committerr <r@freesoftwareextremist.com>2020-11-14 14:22:34 +0000
commitc3d90539e9a7addd3c41f44b864b14bde60958dc (patch)
treecc8efc18befd999db4985ef75fc4f42e99da9f78 /templates/header.tmpl
parent856fe9e8c74e7c8096f7fb04d7b0932171223752 (diff)
downloadbloat-c3d90539e9a7addd3c41f44b864b14bde60958dc.tar.gz
bloat-c3d90539e9a7addd3c41f44b864b14bde60958dc.zip
Add notification interval setting
It replaces the "Auto refresh notifications" checkbox
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r--templates/header.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl
index 0c81b72..df2b6af 100644
--- a/templates/header.tmpl
+++ b/templates/header.tmpl
@@ -14,8 +14,8 @@
{{if $.Ctx.AntiDopamineMode}}
<meta name="antidopamine_mode" content="{{$.Ctx.AntiDopamineMode}}">
{{end}}
- {{if .AutoRefresh}}
- <meta http-equiv="refresh" content="30">
+ {{if .RefreshInterval}}
+ <meta http-equiv="refresh" content="{{.RefreshInterval}}">
{{end}}
<title> {{if gt .Count 0}}({{.Count}}){{end}} {{.Title}} </title>
<link rel="stylesheet" href="/static/style.css">