diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-06-20 16:03:52 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-06-20 16:03:52 +0800 |
commit | 60ef0dd20c91fd8d8f04ec139edaa07dbab86d1b (patch) | |
tree | dac5a906c8afd4e29a64fa05946f19e3c883681a /app/views | |
parent | 045dad3cf17f7e5562dde847ae6d9e9118cfa5ba (diff) | |
download | gitlab-ce-60ef0dd20c91fd8d8f04ec139edaa07dbab86d1b.tar.gz |
Use .has-tooltip as suggested at:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4093#note_12533926
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/runners/_runner.html.haml | 3 |
1 files changed, 1 insertions, 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 |