Hide homepage setting when it's disabled site-wide
This commit is contained in:
parent
d6b2e0700a
commit
d368acac29
|
@ -105,12 +105,13 @@ html
|
|||
input(type="checkbox", name="show_upvotes", id="show_upvotes", checked="checked")
|
||||
else
|
||||
input(type="checkbox", name="show_upvotes", id="show_upvotes")
|
||||
.setting
|
||||
label(for="prefer_frontpage")
|
||||
if(user_preferences.prefer_frontpage == 'true')
|
||||
input(type="checkbox", name="prefer_frontpage", id="prefer_frontpage", checked="true")
|
||||
else
|
||||
input(type="checkbox", name="prefer_frontpage", id="prefer_frontpage")
|
||||
if instance_config.clean_homepage
|
||||
.setting
|
||||
label(for="prefer_frontpage") Prefer reddit-style frontpage as homepage:
|
||||
if(user_preferences.prefer_frontpage == 'true')
|
||||
input(type="checkbox", name="prefer_frontpage", id="prefer_frontpage", checked="true")
|
||||
else
|
||||
input(type="checkbox", name="prefer_frontpage", id="prefer_frontpage")
|
||||
legend Media
|
||||
.setting
|
||||
label(for="videos_muted") Mute videos by default:
|
||||
|
|
Loading…
Reference in New Issue