Commit 2b521183 authored by Lin Jen-Shin's avatar Lin Jen-Shin

They're projects, so we shouldn't show lock icon

parent 397a69f8
...@@ -64,9 +64,6 @@ ...@@ -64,9 +64,6 @@
= project.name_with_namespace = project.name_with_namespace
%td %td
.pull-right .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| = form_for [:admin, project.namespace.becomes(Namespace), project, project.runner_projects.new] do |f|
= f.hidden_field :runner_id, value: @runner.id = f.hidden_field :runner_id, value: @runner.id
= f.submit 'Enable', class: 'btn btn-xs' = f.submit 'Enable', class: 'btn btn-xs'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment