summaryrefslogtreecommitdiff
path: root/app/views/projects/packages/infrastructure_registry/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/packages/infrastructure_registry/show.html.haml')
-rw-r--r--app/views/projects/packages/infrastructure_registry/show.html.haml15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/views/projects/packages/infrastructure_registry/show.html.haml b/app/views/projects/packages/infrastructure_registry/show.html.haml
new file mode 100644
index 00000000000..e5701343b83
--- /dev/null
+++ b/app/views/projects/packages/infrastructure_registry/show.html.haml
@@ -0,0 +1,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)} }