2016-01-13 15:26:40 +00:00
|
|
|
- @no_container = true
|
2018-03-29 12:06:49 +00:00
|
|
|
- breadcrumb_title _("Details")
|
2017-07-11 07:53:52 +00:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2018-02-20 18:51:52 +00:00
|
|
|
- show_auto_devops_callout = show_auto_devops_callout?(@project)
|
2016-01-13 15:26:40 +00:00
|
|
|
|
2015-04-21 14:57:01 +00:00
|
|
|
= content_for :meta_tags do
|
2017-06-29 17:06:35 +00:00
|
|
|
= auto_discovery_link_tag(:atom, project_path(@project, rss_url_options), title: "#{@project.name} activity")
|
2015-04-21 14:57:01 +00:00
|
|
|
|
2017-06-29 11:43:01 +00:00
|
|
|
= render partial: 'flash_messages', locals: { project: @project }
|
2014-12-26 12:25:37 +00:00
|
|
|
|
2018-01-09 23:05:50 +00:00
|
|
|
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
|
|
|
|
= render "projects/last_push"
|
|
|
|
|
2013-11-06 15:13:21 +00:00
|
|
|
= render "home_panel"
|
2015-07-07 14:01:12 +00:00
|
|
|
|
2017-04-12 00:17:14 +00:00
|
|
|
- if can?(current_user, :download_code, @project)
|
2017-04-07 15:38:40 +00:00
|
|
|
%nav.project-stats{ class: container_class }
|
2018-02-20 18:51:52 +00:00
|
|
|
= render 'stat_anchor_list', anchors: @project.statistics_anchors(show_auto_devops_callout: show_auto_devops_callout)
|
|
|
|
= render 'stat_anchor_list', anchors: @project.statistics_buttons(show_auto_devops_callout: show_auto_devops_callout)
|
2016-09-16 19:15:39 +00:00
|
|
|
|
|
|
|
|
2017-07-03 09:14:40 +00:00
|
|
|
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
|
2016-01-13 13:37:25 +00:00
|
|
|
- if @project.archived?
|
|
|
|
.text-warning.center.prepend-top-20
|
|
|
|
%p
|
|
|
|
= icon("exclamation-triangle fw")
|
2018-04-02 16:31:15 +00:00
|
|
|
#{ _('Archived project! Repository and other project resources are read-only') }
|
2015-10-15 17:02:29 +00:00
|
|
|
|
2018-02-20 16:30:49 +00:00
|
|
|
- view_path = @project.default_view
|
2016-09-16 19:15:39 +00:00
|
|
|
|
2017-09-05 11:35:31 +00:00
|
|
|
- if show_auto_devops_callout?(@project)
|
2017-09-01 12:32:05 +00:00
|
|
|
= render 'shared/auto_devops_callout'
|
2017-09-01 11:18:00 +00:00
|
|
|
|
2016-09-16 19:15:39 +00:00
|
|
|
%div{ class: project_child_container_class(view_path) }
|
|
|
|
= render view_path
|