diff options
Diffstat (limited to 'app/views/projects/runners/_group_runners.html.haml')
-rw-r--r-- | app/views/projects/runners/_group_runners.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/runners/_group_runners.html.haml b/app/views/projects/runners/_group_runners.html.haml index 32a2e36c779..2d435a7ce9d 100644 --- a/app/views/projects/runners/_group_runners.html.haml +++ b/app/views/projects/runners/_group_runners.html.haml @@ -27,7 +27,7 @@ - elsif @group_runners.empty? = _('This group does not have any group runners yet.') - - if can?(current_user, :admin_group_runners, @project.group) + - if can?(current_user, :register_group_runners, @project.group) || can?(current_user, :create_runner, @project.group) - group_link_start = "<a href='#{group_runners_path(@project.group)}'>".html_safe - group_link_end = '</a>'.html_safe = s_("Runners|To register them, go to the %{link_start}group's Runners page%{link_end}.").html_safe % { link_start: group_link_start, link_end: group_link_end } |