1
0
Fork 0
forked from gitea/nas

Change “privacy and reach” settings so that unchecking boxes always increase privacy and checking them always increase reach (#26508)

This commit is contained in:
Claire 2023-08-17 09:13:26 +02:00 committed by GitHub
parent 0446394465
commit cc4560d95b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 7 deletions

View file

@ -18,7 +18,7 @@
= f.input :discoverable, as: :boolean, wrapper: :with_label, recommended: true
.fields-group
= f.input :locked, as: :boolean, wrapper: :with_label
= f.input :unlocked, as: :boolean, wrapper: :with_label
%h4= t('privacy.search')
@ -33,7 +33,7 @@
%p.lead= t('privacy.privacy_hint_html')
.fields-group
= f.input :hide_collections, as: :boolean, wrapper: :with_label
= f.input :show_collections, as: :boolean, wrapper: :with_label
= f.simple_fields_for :settings, current_user.settings do |ff|
.fields-group