diff options
Diffstat (limited to 'app/views/admin/runners/show.html.haml')
-rw-r--r-- | app/views/admin/runners/show.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/admin/runners/show.html.haml b/app/views/admin/runners/show.html.haml index 61abfc6ecbe..6b3aa122c84 100644 --- a/app/views/admin/runners/show.html.haml +++ b/app/views/admin/runners/show.html.haml @@ -64,6 +64,9 @@ = 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' |