Commit b234c2a1 authored by anna_vovchenko's avatar anna_vovchenko

Replace generic checkbox with GitLab UI element

Update generic checkboxes on the /admin/settings page,
Visibility and access controls section.

Changelog: changed
parent 8edfaf0b
...@@ -40,10 +40,7 @@ ...@@ -40,10 +40,7 @@
= render_if_exists 'admin/application_settings/ldap_access_setting', form: f = render_if_exists 'admin/application_settings/ldap_access_setting', form: f
.form-group .form-group
.form-check = f.gitlab_ui_checkbox_component :project_export_enabled, s_('AdminSettings|Project export enabled')
= f.check_box :project_export_enabled, class: 'form-check-input'
= f.label :project_export_enabled, class: 'form-check-label' do
= _('Project export enabled')
.form-group .form-group
%label.label-bold= _('Enabled Git access protocols') %label.label-bold= _('Enabled Git access protocols')
...@@ -65,9 +62,6 @@ ...@@ -65,9 +62,6 @@
.form-group .form-group
%label.label-bold= s_('AdminSettings|Feed token') %label.label-bold= s_('AdminSettings|Feed token')
.form-check = f.gitlab_ui_checkbox_component :disable_feed_token, s_('AdminSettings|Disable feed token')
= f.check_box :disable_feed_token, class: 'form-check-input'
= f.label :disable_feed_token, class: 'form-check-label' do
= s_('AdminSettings|Disable feed token')
= f.submit _('Save changes'), class: "gl-button btn btn-confirm" = f.submit _('Save changes'), class: "gl-button btn btn-confirm"
...@@ -4,8 +4,4 @@ ...@@ -4,8 +4,4 @@
.form-group .form-group
= f.label _('Default delayed project deletion'), class: 'label-bold' = f.label _('Default delayed project deletion'), class: 'label-bold'
.form-check = f.gitlab_ui_checkbox_component :delayed_project_deletion, _('Enable delayed project deletion by default for newly-created groups. Does not apply to projects in personal namespaces, which are deleted immediately on request.')
= f.check_box :delayed_project_deletion, class: 'form-check-input'
= f.label :delayed_project_deletion, class: 'form-check-label' do
= _('Enable delayed project deletion by default for newly-created groups.')
= _('Does not apply to projects in personal namespaces, which are deleted immediately on request.')
...@@ -4,7 +4,4 @@ ...@@ -4,7 +4,4 @@
.form-group .form-group
= f.label _('Default project deletion protection'), class: 'label-bold' = f.label _('Default project deletion protection'), class: 'label-bold'
.form-check = f.gitlab_ui_checkbox_component :default_project_deletion_protection, _('Only admins can delete project')
= f.check_box :default_project_deletion_protection, class: 'form-check-input'
= f.label :default_project_deletion_protection, class: 'form-check-label' do
= _('Only admins can delete project')
...@@ -2706,6 +2706,9 @@ msgstr "" ...@@ -2706,6 +2706,9 @@ msgstr ""
msgid "AdminSettings|Preview payload" msgid "AdminSettings|Preview payload"
msgstr "" msgstr ""
msgid "AdminSettings|Project export enabled"
msgstr ""
msgid "AdminSettings|Protect CI/CD variables by default" msgid "AdminSettings|Protect CI/CD variables by default"
msgstr "" msgstr ""
...@@ -13303,9 +13306,6 @@ msgstr "" ...@@ -13303,9 +13306,6 @@ msgstr ""
msgid "Documents reindexed: %{processed_documents} (%{percentage}%%)" msgid "Documents reindexed: %{processed_documents} (%{percentage}%%)"
msgstr "" msgstr ""
msgid "Does not apply to projects in personal namespaces, which are deleted immediately on request."
msgstr ""
msgid "Does not delete the source branch." msgid "Does not delete the source branch."
msgstr "" msgstr ""
...@@ -13912,7 +13912,7 @@ msgstr "" ...@@ -13912,7 +13912,7 @@ msgstr ""
msgid "Enable container expiration caching." msgid "Enable container expiration caching."
msgstr "" msgstr ""
msgid "Enable delayed project deletion by default for newly-created groups." msgid "Enable delayed project deletion by default for newly-created groups. Does not apply to projects in personal namespaces, which are deleted immediately on request."
msgstr "" msgstr ""
msgid "Enable email notification" msgid "Enable email notification"
...@@ -29155,9 +29155,6 @@ msgstr "" ...@@ -29155,9 +29155,6 @@ msgstr ""
msgid "Project export download requests" msgid "Project export download requests"
msgstr "" msgstr ""
msgid "Project export enabled"
msgstr ""
msgid "Project export has been deleted." msgid "Project export has been deleted."
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment