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
d48b95e2
Commit
d48b95e2
authored
Mar 22, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the job tootip being cut-off
Closes #29800
parent
a1b68aa4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
app/views/ci/status/_graph_badge.html.haml
app/views/ci/status/_graph_badge.html.haml
+2
-2
app/views/projects/stage/_in_stage_group.html.haml
app/views/projects/stage/_in_stage_group.html.haml
+1
-1
changelogs/unreleased/pipelines-build-tooltip.yml
changelogs/unreleased/pipelines-build-tooltip.yml
+4
-0
No files found.
app/views/ci/status/_graph_badge.html.haml
View file @
d48b95e2
...
...
@@ -6,7 +6,7 @@
-
tooltip
=
"
#{
subject
.
name
}
-
#{
status
.
label
}
"
-
if
status
.
has_details?
=
link_to
status
.
details_path
,
class:
'build-content has-tooltip'
,
data:
{
toggle:
'tooltip'
,
title:
tooltip
}
do
=
link_to
status
.
details_path
,
class:
'build-content has-tooltip'
,
data:
{
toggle:
'tooltip'
,
title:
tooltip
,
container:
'body'
}
do
%span
{
class:
klass
}=
custom_icon
(
status
.
icon
)
.ci-status-text
=
subject
.
name
-
else
...
...
@@ -15,6 +15,6 @@
.ci-status-text
=
subject
.
name
-
if
status
.
has_action?
=
link_to
status
.
action_path
,
class:
'ci-action-icon-container has-tooltip'
,
method:
status
.
action_method
,
data:
{
toggle:
'tooltip'
,
title:
status
.
action_title
}
do
=
link_to
status
.
action_path
,
class:
'ci-action-icon-container has-tooltip'
,
method:
status
.
action_method
,
data:
{
toggle:
'tooltip'
,
title:
status
.
action_title
,
container:
'body'
}
do
%i
.ci-action-icon-wrapper
{
class:
"js-#{status.action_icon.dasherize}"
}
=
custom_icon
(
status
.
action_icon
)
app/views/projects/stage/_in_stage_group.html.haml
View file @
d48b95e2
-
group_status
=
CommitStatus
.
where
(
id:
subject
).
status
%button
.dropdown-menu-toggle.build-content.has-tooltip
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
title:
"#{name} - #{group_status}"
}
}
%button
.dropdown-menu-toggle.build-content.has-tooltip
{
type:
'button'
,
data:
{
toggle:
'dropdown'
,
title:
"#{name} - #{group_status}"
,
container:
'body'
}
}
%span
{
class:
"ci-status-icon ci-status-icon-#{group_status}"
}
=
ci_icon_for_status
(
group_status
)
%span
.ci-status-text
...
...
changelogs/unreleased/pipelines-build-tooltip.yml
0 → 100644
View file @
d48b95e2
---
title
:
Fixed job tooltip being cut-off
merge_request
:
author
:
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