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
1d25f64a
Commit
1d25f64a
authored
Jul 02, 2021
by
nuwe1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gl_alert markup in file
parent
ac7ce848
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
app/views/admin/projects/show.html.haml
app/views/admin/projects/show.html.haml
+5
-2
No files found.
app/views/admin/projects/show.html.haml
View file @
1d25f64a
...
...
@@ -15,8 +15,11 @@
-
if
@project
.
last_repository_check_failed?
.row
.col-md-12
.gl-alert.gl-alert-danger.gl-mb-5
{
data:
{
testid:
'last-repository-check-failed-alert'
}
}
=
sprite_icon
(
'error'
,
size:
16
,
css_class:
'gl-icon gl-alert-icon gl-alert-icon-no-title'
)
=
render
'shared/global_alert'
,
variant: :danger
,
alert_class:
'gl-mb-5'
,
alert_data:
{
testid:
'last-repository-check-failed-alert'
},
is_container:
true
do
.gl-alert-body
-
last_check_message
=
_
(
"Last repository check (%{last_check_timestamp}) failed. See the 'repocheck.log' file for error messages."
)
-
last_check_message
=
last_check_message
%
{
last_check_timestamp:
time_ago_with_tooltip
(
@project
.
last_repository_check_at
)
}
...
...
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