diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/header.tmpl | 3 | ||||
-rw-r--r-- | templates/settings.tmpl | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl index 8e67353..2d76f33 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -10,6 +10,9 @@ {{if .CSRFToken}} <meta name="csrf_token" content="{{.CSRFToken}}"> {{end}} + {{if $.Ctx.AntiDopamineMode}} + <meta name="antidopamine_mode" content="{{$.Ctx.AntiDopamineMode}}"> + {{end}} {{if .AutoRefresh}} <meta http-equiv="refresh" content="30"> {{end}} diff --git a/templates/settings.tmpl b/templates/settings.tmpl index ab5f03c..67386a4 100644 --- a/templates/settings.tmpl +++ b/templates/settings.tmpl @@ -38,13 +38,13 @@ <label for="fluoride-mode"> Enable <abbr title="Enable JavaScript based functionality, e.g., like/retweet without page reload and reply preview on thread page">fluoride mode</abbr> </label> </div> <div class="settings-form-field"> - <input id="dark-mode" name="dark_mode" type="checkbox" value="true" {{if .Settings.DarkMode}}checked{{end}}> - <label for="dark-mode"> Use dark theme </label> - </div> - <div class="settings-form-field"> <input id="anti-dopamine-mode" name="anti_dopamine_mode" type="checkbox" value="true" {{if .Settings.AntiDopamineMode}}checked{{end}}> - <label for="anti-dopamine-mode"> Remove addictive social media features </label> + <label for="anti-dopamine-mode"> Enable <abbr title="Remove like/retweet/unread notification count and disable like/retweet/follow notifications">anti-dopamine mode</abbr> </label> + </div> + <div class="settings-form-field"> + <input id="dark-mode" name="dark_mode" type="checkbox" value="true" {{if .Settings.DarkMode}}checked{{end}}> + <label for="dark-mode"> Use dark theme </label> </div> <button type="submit"> Save </button> </form> |