diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-08-29 21:15:30 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-08-29 21:15:30 +0000 |
commit | 35566fd9bbfaad9e1b472c77b9eca9f780389d7a (patch) | |
tree | 0ed070343892bace41b8d48095cfb2bf45ffbfc6 /app/helpers | |
parent | 11b9bf0feae82848e168f8442eadca5d9ed6acf0 (diff) | |
parent | cc94714c05a5088db7e30b9582a187e5ee52068b (diff) | |
download | gitlab-ce-35566fd9bbfaad9e1b472c77b9eca9f780389d7a.tar.gz |
Merge branch '21070-graph-tooltip' into 'master'
Add body as data-container on pipeline graph tooltip
## What does this MR do?
Fixed data tooltip getting cut off
## What are the relevant issue numbers?
Closes #21070
## Screenshots (if relevant)

See merge request !5955
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/ci_status_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/ci_status_helper.rb b/app/helpers/ci_status_helper.rb index bb285a17baf..0327b476d18 100644 --- a/app/helpers/ci_status_helper.rb +++ b/app/helpers/ci_status_helper.rb @@ -66,10 +66,10 @@ module CiStatusHelper Ci::Runner.shared.blank? end - def render_status_with_link(type, status, path = nil, tooltip_placement: 'auto left', cssclass: '') + def render_status_with_link(type, status, path = nil, tooltip_placement: 'auto left', cssclass: '', container: 'body') klass = "ci-status-link ci-status-icon-#{status.dasherize} #{cssclass}" title = "#{type.titleize}: #{ci_label_for_status(status)}" - data = { toggle: 'tooltip', placement: tooltip_placement } + data = { toggle: 'tooltip', placement: tooltip_placement, container: container } if path link_to ci_icon_for_status(status), path, |