From 2b5211833342fb31201030d84a9e0caf2c8cceb8 Mon Sep 17 00:00:00 2001 From: Lin Jen-Shin Date: Tue, 28 Jun 2016 20:10:42 +0800 Subject: They're projects, so we shouldn't show lock icon --- app/views/admin/runners/show.html.haml | 3 --- 1 file changed, 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' -- cgit v1.2.1