gitlab-org--gitlab-foss/app/views/projects/show.html.haml

35 lines
1.3 KiB
Text
Raw Normal View History

- @no_container = true
- breadcrumb_title _("Details")
- @content_class = "limit-container-width" unless fluid_layout
2015-04-21 10:57:01 -04:00
= content_for :meta_tags do
= auto_discovery_link_tag(:atom, project_path(@project, rss_url_options), title: "#{@project.name} activity")
2015-04-21 10:57:01 -04:00
2017-06-29 07:43:01 -04:00
= render partial: 'flash_messages', locals: { project: @project }
- if !@project.empty_repo? && can?(current_user, :download_code, @project)
- signatures_path = project_signatures_path(@project, @project.default_branch)
.js-signature-container{ data: { 'signatures-path': signatures_path } }
2018-01-09 18:05:50 -05:00
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
= render "projects/last_push"
= render "home_panel"
2018-09-06 03:27:39 -04:00
- if can?(current_user, :download_code, @project) && @project.repository_languages.present?
= repository_languages_bar(@project.repository_languages)
- if @project.archived?
.text-warning.center.prepend-top-20
%p
= icon("exclamation-triangle fw")
#{ _('Archived project! Repository and other project resources are read-only') }
- view_path = @project.default_view
- if show_auto_devops_callout?(@project)
2017-09-01 08:32:05 -04:00
= render 'shared/auto_devops_callout'
2017-09-01 07:18:00 -04:00
%div{ class: project_child_container_class(view_path) }
= render view_path, is_project_overview: true