debian-mirror-gitlab/app/views/groups/runners/edit.html.haml
2022-05-07 20:08:51 +05:30

18 lines
721 B
Text

- breadcrumb_title _('Edit')
- page_title _('Edit'), "##{@runner.id} (#{@runner.short_sha})"
- if Feature.enabled?(:runner_list_group_view_vue_ui, @group, default_enabled: :yaml)
- add_to_breadcrumbs _('Runners'), group_runners_path(@group)
- else
- add_to_breadcrumbs _('CI/CD Settings'), group_settings_ci_cd_path(@group)
- add_to_breadcrumbs "#{@runner.short_sha}", group_runner_path(@group, @runner)
%h2.page-title
= 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
= render 'shared/runners/form', runner: @runner, runner_form_url: group_runner_path(@group, @runner)