From 60ef0dd20c91fd8d8f04ec139edaa07dbab86d1b Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Mon, 20 Jun 2016 16:03:52 +0800 Subject: [PATCH] Use .has-tooltip as suggested at: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12533926 --- app/views/projects/runners/_runner.html.haml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/projects/runners/_runner.html.haml b/app/views/projects/runners/_runner.html.haml index fbd94c34591..13113f9b88f 100644 --- a/app/views/projects/runners/_runner.html.haml +++ b/app/views/projects/runners/_runner.html.haml @@ -5,8 +5,7 @@ - if @runners.include?(runner) = link_to runner.short_sha, runner_path(runner) - if runner.locked? - %small{title: 'Exclusive to this project'} - = icon('lock') + = icon('lock', class: 'has-tooltip', title: 'Exclusive to this project') %small = link_to edit_namespace_project_runner_path(@project.namespace, @project, runner) do %i.fa.fa-edit.btn