Commit fb97080c authored by David O'Regan's avatar David O'Regan

Merge branch '344164-update-repo-check-modal-text' into 'master'

Use danger variant for repository check modal

See merge request gitlab-org/gitlab!80257
parents 833f022f 216ed7f0
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
= _("If you get a lot of false alarms from repository checks, you can clear all repository check information from the database.") = _("If you get a lot of false alarms from repository checks, you can clear all repository check information from the database.")
- clear_repository_checks_link = _('Clear all repository checks') - clear_repository_checks_link = _('Clear all repository checks')
- clear_repository_checks_message = _('This clears repository check states for all projects in the database and cannot be undone. Are you sure?') - clear_repository_checks_message = _('This clears repository check states for all projects in the database and cannot be undone. Are you sure?')
= link_to clear_repository_checks_link, clear_repository_check_states_admin_application_settings_path, data: { confirm: clear_repository_checks_message }, method: :put, class: "gl-button btn btn-sm btn-danger gl-mt-3" = link_to clear_repository_checks_link, clear_repository_check_states_admin_application_settings_path, data: { confirm: clear_repository_checks_message, confirm_btn_variant: 'danger' }, aria: { label: _('Clear repository checks') }, method: :put, class: "gl-button btn btn-sm btn-danger gl-mt-3"
.sub-section .sub-section
%h4= _("Housekeeping") %h4= _("Housekeeping")
......
...@@ -7405,6 +7405,9 @@ msgstr "" ...@@ -7405,6 +7405,9 @@ msgstr ""
msgid "Clear recent searches" msgid "Clear recent searches"
msgstr "" msgstr ""
msgid "Clear repository checks"
msgstr ""
msgid "Clear search" msgid "Clear search"
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