diff options
Diffstat (limited to 'app/views/projects/runners/edit.html.haml')
-rw-r--r-- | app/views/projects/runners/edit.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/runners/edit.html.haml b/app/views/projects/runners/edit.html.haml index ce56b160187..58955663bfa 100644 --- a/app/views/projects/runners/edit.html.haml +++ b/app/views/projects/runners/edit.html.haml @@ -1,10 +1,11 @@ +- runner_name = runner_short_name(@runner) - breadcrumb_title _('Edit') -- page_title _('Edit'), "##{@runner.id} (#{@runner.short_sha})" +- page_title _('Edit'), runner_name - add_to_breadcrumbs _('CI/CD Settings'), project_settings_ci_cd_path(@project) -- add_to_breadcrumbs "#{@runner.short_sha}", project_runner_path(@project, @runner) +- add_to_breadcrumbs runner_name, project_runner_path(@project, @runner) %h1.page-title.gl-font-size-h-display - = s_('Runners|Runner #%{runner_id}' % { runner_id: @runner.id }) + = s_('Runners|Runner #%{runner_id}') % { runner_id: @runner.id } = render 'shared/runners/runner_type_badge', runner: @runner = render 'shared/runners/runner_type_alert', runner: @runner |