summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-05-15 13:13:05 +0300
committerValery Sizov <vsv2711@gmail.com>2015-05-15 13:13:05 +0300
commit53e2a2899356743849ba4409736f080c31d2e93d (patch)
treed81f0be7af0cba5d77548fec0f964118006bcecf
parent532558d31e6abfbd14b791c090d3ff70949c5af9 (diff)
downloadgitlab-ci-53e2a2899356743849ba4409736f080c31d2e93d.tar.gz
fix runners page UI
-rw-r--r--app/views/admin/runners/_runner.html.haml2
-rw-r--r--app/views/admin/runners/index.html.haml1
-rw-r--r--app/views/runners/_runner.html.haml2
3 files changed, 1 insertions, 4 deletions
diff --git a/app/views/admin/runners/_runner.html.haml b/app/views/admin/runners/_runner.html.haml
index 5340830..98342a8 100644
--- a/app/views/admin/runners/_runner.html.haml
+++ b/app/views/admin/runners/_runner.html.haml
@@ -1,7 +1,5 @@
%tr{id: dom_id(runner)}
%td
- = runner.id
- %td
- if runner.shared?
%span.label.label-success shared
- else
diff --git a/app/views/admin/runners/index.html.haml b/app/views/admin/runners/index.html.haml
index 0d64c8b..966de9c 100644
--- a/app/views/admin/runners/index.html.haml
+++ b/app/views/admin/runners/index.html.haml
@@ -32,7 +32,6 @@
%table.table
%thead
%tr
- %th ID
%th Type
%th Runner token
%th Description
diff --git a/app/views/runners/_runner.html.haml b/app/views/runners/_runner.html.haml
index fc78ffc..144edb3 100644
--- a/app/views/runners/_runner.html.haml
+++ b/app/views/runners/_runner.html.haml
@@ -7,7 +7,7 @@
%small
=link_to edit_project_runner_path(@project, runner) do
%i.fa.icon-edit.btn
-
+
.pull-right
- if @runners.include?(runner)
- if runner.belongs_to_one_project?