summaryrefslogtreecommitdiff
path: root/app/views/projects/packages/infrastructure_registry/show.html.haml
blob: e5701343b8392a9e28aa09b1a8b732e44bea821e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- add_to_breadcrumbs _("Infrastructure Registry"), project_infrastructure_registry_index_path(@project)
- add_to_breadcrumbs @package.name, project_infrastructure_registry_index_path(@project)
- breadcrumb_title @package.version
- page_title _("Infrastructure Registry")
- @content_class = "limit-container-width" unless fluid_layout

.row
  .col-12
    #js-vue-packages-detail{ data: { package: package_from_presenter(@package),
      can_delete: can?(current_user, :destroy_package, @project).to_s,
      svg_path: image_path('illustrations/no-packages.svg'),
      project_name: @project.name,
      project_path: expose_url(@project.full_path),
      terraform_help_path: help_page_path('user/infrastructure/index'),
      project_list_url: project_infrastructure_registry_index_path(@project)} }