diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-01 13:11:57 +0400 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-05-01 13:11:57 +0400 |
commit | 36cdd1e7179aedee7af42d100a208fc1c01e6c63 (patch) | |
tree | ccd89a96cd724e69dd2b93d2218dc0943f4a1361 /app/views/admin/runners/_runner.html.haml | |
parent | 1a6d9789db04c3caa4f15ea76399c417f310a6a7 (diff) | |
download | gitlab-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.haml | 4 |
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) |