Add option to hide posts upvotes and comments points

This commit is contained in:
sartateme
2022-01-31 15:31:00 +01:00
parent 3ef2f004ea
commit 274a8be24e
7 changed files with 29 additions and 1605 deletions

View File

@@ -96,6 +96,12 @@ html
input(type="checkbox", name="show_upvoted_percentage", id="show_upvoted_percentage", checked="checked")
else
input(type="checkbox", name="show_upvoted_percentage", id="show_upvoted_percentage")
.setting
label(for="show_upvotes") Show upvotes:
if (user_preferences.show_upvotes == 'true')
input(type="checkbox", name="show_upvotes", id="show_upvotes", checked="checked")
else
input(type="checkbox", name="show_upvotes", id="show_upvotes")
legend Media
.setting
label(for="videos_muted") Mute videos by default: