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
725dfc77
Commit
725dfc77
authored
Feb 25, 2019
by
Scott Hampton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding tooltip to the icon partial
I apparently forgot to add tooltips to the partial before.
parent
52c910ee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/ci/status/_icon.html.haml
app/views/ci/status/_icon.html.haml
+1
-1
No files found.
app/views/ci/status/_icon.html.haml
View file @
725dfc77
-
status
=
local_assigns
.
fetch
(
:status
)
-
status
=
local_assigns
.
fetch
(
:status
)
-
size
=
local_assigns
.
fetch
(
:size
,
16
)
-
size
=
local_assigns
.
fetch
(
:size
,
16
)
-
link
=
local_assigns
.
fetch
(
:link
,
true
)
-
link
=
local_assigns
.
fetch
(
:link
,
true
)
-
title
=
local_assigns
.
fetch
(
:title
,
nil
)
-
title
=
local_assigns
.
fetch
(
:title
,
"Pipeline:
#{
status
.
label
}
"
)
-
css_classes
=
"ci-status-link ci-status-icon ci-status-icon-
#{
status
.
group
}
#{
'has-tooltip'
if
title
.
present?
}
"
-
css_classes
=
"ci-status-link ci-status-icon ci-status-icon-
#{
status
.
group
}
#{
'has-tooltip'
if
title
.
present?
}
"
-
if
link
&&
status
.
has_details?
-
if
link
&&
status
.
has_details?
...
...
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