diff options
author | Scott Hampton <shampton@gitlab.com> | 2019-02-25 21:12:01 +0300 |
---|---|---|
committer | Scott Hampton <shampton@gitlab.com> | 2019-02-25 21:12:01 +0300 |
commit | 725dfc77c2ed241121666c8a708efb09122c287f (patch) | |
tree | 7c3b7332a16bc6356ca9bee3da51d8c89b86c9ed /app | |
parent | 52c910eeca47f140246d003fbb6b4748d1be8bb8 (diff) |
Adding tooltip to the icon partial
I apparently forgot to add tooltips to the partial before.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/ci/status/_icon.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/ci/status/_icon.html.haml b/app/views/ci/status/_icon.html.haml index 29ce9cd1afd..09ac086fa22 100644 --- a/app/views/ci/status/_icon.html.haml +++ b/app/views/ci/status/_icon.html.haml @@ -1,7 +1,7 @@ - status = local_assigns.fetch(:status) - size = local_assigns.fetch(:size, 16) - 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?}" - if link && status.has_details? |