Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
216ed7f0
Commit
216ed7f0
authored
Feb 09, 2022
by
Tom Quirk
Committed by
David O'Regan
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use danger variant for repository check modal
parent
b7b0b462
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
app/views/admin/application_settings/_repository_check.html.haml
...ws/admin/application_settings/_repository_check.html.haml
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/views/admin/application_settings/_repository_check.html.haml
View file @
216ed7f0
...
...
@@ -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."
)
-
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?'
)
=
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
%h4
=
_
(
"Housekeeping"
)
...
...
locale/gitlab.pot
View file @
216ed7f0
...
...
@@ -7405,6 +7405,9 @@ msgstr ""
msgid "Clear recent searches"
msgstr ""
msgid "Clear repository checks"
msgstr ""
msgid "Clear search"
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment