Add setting to show large gallery images with captions

This commit is contained in:
redmt
2022-06-11 21:04:55 +02:00
parent 0bf27cfd6c
commit 9fd891b474
2 changed files with 14 additions and 0 deletions

View File

@@ -126,6 +126,12 @@ html
input(type="checkbox", name="videos_muted", id="videos_muted", checked="checked")
else
input(type="checkbox", name="videos_muted", id="videos_muted")
.setting
label(for="show_large_gallery_images") Show large gallery images with captions:
if (user_preferences.show_large_gallery_images == 'true')
input(type="checkbox", name="show_large_gallery_images", id="show_large_gallery_images", checked="checked")
else
input(type="checkbox", name="show_large_gallery_images", id="show_large_gallery_images")
small(class="notice") Preferences are stored client-side using cookies without any personal information.
br
input(type="submit", value="Save preferences")