Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hampton <shampton@gitlab.com>2019-02-25 21:12:01 +0300
committerScott Hampton <shampton@gitlab.com>2019-02-25 21:12:01 +0300
commit725dfc77c2ed241121666c8a708efb09122c287f (patch)
tree7c3b7332a16bc6356ca9bee3da51d8c89b86c9ed /app/views/ci
parent52c910eeca47f140246d003fbb6b4748d1be8bb8 (diff)
Adding tooltip to the icon partial
I apparently forgot to add tooltips to the partial before.
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/status/_icon.html.haml2
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?