summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-06-28 20:10:42 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-06-28 20:10:42 +0800
commit2b5211833342fb31201030d84a9e0caf2c8cceb8 (patch)
treecc859b0b9f0c4c671d08c42826ef8a175d287004
parent397a69f834ad8854301df4c09035e16d35ac5158 (diff)
downloadgitlab-ce-2b5211833342fb31201030d84a9e0caf2c8cceb8.tar.gz
They're projects, so we shouldn't show lock icon
-rw-r--r--app/views/admin/runners/show.html.haml3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/views/admin/runners/show.html.haml b/app/views/admin/runners/show.html.haml
index 6b3aa122c84..61abfc6ecbe 100644
--- a/app/views/admin/runners/show.html.haml
+++ b/app/views/admin/runners/show.html.haml
@@ -64,9 +64,6 @@
= project.name_with_namespace
%td
.pull-right
- - if @runner.locked?
- = icon('lock', class: 'has-tooltip', title: 'Locked to current projects')
-
= form_for [:admin, project.namespace.becomes(Namespace), project, project.runner_projects.new] do |f|
= f.hidden_field :runner_id, value: @runner.id
= f.submit 'Enable', class: 'btn btn-xs'