aboutsummaryrefslogtreecommitdiff
path: root/templates/settings.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-04-25 09:35:18 +0000
committerr <r@freesoftwareextremist.com>2020-04-25 09:35:18 +0000
commitf380371654dd81b258e5f37e50ffcf3764f117c1 (patch)
treeedfa323e84ea3264a7a0cf7ba4a3ee58895cbcf0 /templates/settings.tmpl
parent1e750f89b156c601fa5cfbda21e8c4b46be85b18 (diff)
downloadbloat-f380371654dd81b258e5f37e50ffcf3764f117c1.tar.gz
bloat-f380371654dd81b258e5f37e50ffcf3764f117c1.zip
Add option to hide attachments
Diffstat (limited to 'templates/settings.tmpl')
-rw-r--r--templates/settings.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl
index 2773deb..d0710c3 100644
--- a/templates/settings.tmpl
+++ b/templates/settings.tmpl
@@ -22,6 +22,10 @@
<label for="thread-tab"> Open threads in new tab from timeline </label>
</div>
<div class="settings-form-field">
+ <input id="hide-attachments" name="hide_attachments" type="checkbox" value="true" {{if .Settings.HideAttachments}}checked{{end}}>
+ <label for="hide-attachments"> Hide attachments </label>
+ </div>
+ <div class="settings-form-field">
<input id="mask-nsfw" name="mask_nsfw" type="checkbox" value="true" {{if .Settings.MaskNSFW}}checked{{end}}>
<label for="mask-nsfw"> Mask NSFW attachments </label>
</div>