summaryrefslogtreecommitdiff
path: root/app/views/admin/runners/_runner.html.haml
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-05-01 13:11:57 +0400
committerDylan Griffith <dyl.griffith@gmail.com>2018-05-01 13:11:57 +0400
commit36cdd1e7179aedee7af42d100a208fc1c01e6c63 (patch)
treeccd89a96cd724e69dd2b93d2218dc0943f4a1361 /app/views/admin/runners/_runner.html.haml
parent1a6d9789db04c3caa4f15ea76399c417f310a6a7 (diff)
downloadgitlab-ce-36cdd1e7179aedee7af42d100a208fc1c01e6c63.tar.gz
Use group_type? where possible during transition period
Diffstat (limited to 'app/views/admin/runners/_runner.html.haml')
-rw-r--r--app/views/admin/runners/_runner.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/runners/_runner.html.haml b/app/views/admin/runners/_runner.html.haml
index 6670ba6aa89..6e76e7c2768 100644
--- a/app/views/admin/runners/_runner.html.haml
+++ b/app/views/admin/runners/_runner.html.haml
@@ -2,7 +2,7 @@
%td
- if runner.shared?
%span.label.label-success shared
- - elsif runner.assigned_to_group?
+ - elsif runner.group_type?
%span.label.label-success group
- else
%span.label.label-info specific
@@ -21,7 +21,7 @@
%td
= runner.ip_address
%td
- - if runner.shared? || runner.assigned_to_group?
+ - if runner.shared? || runner.group_type?
n/a
- else
= runner.projects.count(:all)