summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2018-10-18 15:22:23 +0200
committerTomasz Maczukin <tomasz@maczukin.pl>2018-10-22 16:29:09 +0200
commitb254f6d52dcafaa3bd0cf1e42e400dd41d213b4c (patch)
treeb3444d74d998f9cee4c752b723d904dc7bc32cb1 /app/views
parentaed0f088f5037e41bd40dc41d029937b71e3c87b (diff)
downloadgitlab-ce-b254f6d52dcafaa3bd0cf1e42e400dd41d213b4c.tar.gz
Fix rendering of 'Protected' value
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/runners/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/runners/show.html.haml b/app/views/shared/runners/show.html.haml
index 362569bfbaf..f62eed694d2 100644
--- a/app/views/shared/runners/show.html.haml
+++ b/app/views/shared/runners/show.html.haml
@@ -24,7 +24,7 @@
%td= @runner.active? ? 'Yes' : 'No'
%tr
%td Protected
- %td= @runner.active? ? _('Yes') : _('No')
+ %td= @runner.ref_protected? ? 'Yes' : 'No'
%tr
%td Can run untagged jobs
%td= @runner.run_untagged? ? 'Yes' : 'No'