aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-12-13 13:58:15 +0000
committerr <r@freesoftwareextremist.com>2021-12-13 13:58:15 +0000
commitdb29c3d87404677c9c02f62097d8a0307cd8d5da (patch)
treed0dc0d24b67edb26521c6dfa0f1b453868255d0f /templates
parent1c8c661abb4beda77edefe421fba1a52cf933956 (diff)
downloadbloat-db29c3d87404677c9c02f62097d8a0307cd8d5da.tar.gz
bloat-db29c3d87404677c9c02f62097d8a0307cd8d5da.zip
Add an option to hide unsupported notifications
Diffstat (limited to 'templates')
-rw-r--r--templates/settings.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl
index 6bae9c7..ebb0458 100644
--- a/templates/settings.tmpl
+++ b/templates/settings.tmpl
@@ -62,6 +62,11 @@
<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="hide-unsupported-notifs" name="hide_unsupported_notifs" type="checkbox"
+ value="true" {{if .Settings.HideUnsupportedNotifs}}checked{{end}}>
+ <label for="hide-unsupported-notifs"> Hide unsupported notifications </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>