diff options
author | r <r@freesoftwareextremist.com> | 2020-11-14 14:08:16 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-11-14 14:22:34 +0000 |
commit | c3d90539e9a7addd3c41f44b864b14bde60958dc (patch) | |
tree | cc8efc18befd999db4985ef75fc4f42e99da9f78 /templates/header.tmpl | |
parent | 856fe9e8c74e7c8096f7fb04d7b0932171223752 (diff) | |
download | bloat-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.tmpl | 4 |
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"> |