Use .has-tooltip as suggested at:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12533926
This commit is contained in:
Lin Jen-Shin 2016-06-20 16:03:52 +08:00
parent 045dad3cf1
commit 60ef0dd20c
1 changed files with 1 additions and 2 deletions

View File

@ -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