2018-03-29 08:06:49 -04:00
|
|
|
- breadcrumb_title _("Details")
|
2017-07-11 03:53:52 -04:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2016-01-13 10:26:40 -05:00
|
|
|
|
2015-04-21 10:57:01 -04:00
|
|
|
= content_for :meta_tags do
|
2017-06-29 13:06:35 -04:00
|
|
|
= 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 }
|
2014-12-26 07:25:37 -05:00
|
|
|
|
2019-10-21 11:05:58 -04:00
|
|
|
- if !@project.empty_repo? && can?(current_user, :download_code, @project) && !vue_file_list_enabled?
|
2018-10-14 09:07:12 -04:00
|
|
|
- signatures_path = project_signatures_path(@project, @project.default_branch)
|
2018-07-23 10:58:21 -04:00
|
|
|
.js-signature-container{ data: { 'signatures-path': signatures_path } }
|
|
|
|
|
2019-09-03 05:03:35 -04:00
|
|
|
%div{ class: [("limit-container-width" unless fluid_layout)] }
|
2018-01-09 18:05:50 -05:00
|
|
|
= render "projects/last_push"
|
|
|
|
|
2018-12-07 09:11:42 -05:00
|
|
|
= render "home_panel"
|
2018-09-06 03:27:39 -04:00
|
|
|
|
2018-12-07 09:11:42 -05:00
|
|
|
- if can?(current_user, :download_code, @project) && @project.repository_languages.present?
|
2018-08-14 05:40:10 -04:00
|
|
|
= repository_languages_bar(@project.repository_languages)
|
2016-09-16 15:15:39 -04:00
|
|
|
|
2016-01-13 08:37:25 -05:00
|
|
|
- if @project.archived?
|
|
|
|
.text-warning.center.prepend-top-20
|
|
|
|
%p
|
|
|
|
= icon("exclamation-triangle fw")
|
2018-04-02 12:31:15 -04:00
|
|
|
#{ _('Archived project! Repository and other project resources are read-only') }
|
2015-10-15 13:02:29 -04:00
|
|
|
|
2018-02-20 11:30:49 -05:00
|
|
|
- view_path = @project.default_view
|
2016-09-16 15:15:39 -04:00
|
|
|
|
2017-09-05 07:35:31 -04:00
|
|
|
- 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
|
|
|
|
2016-09-16 15:15:39 -04:00
|
|
|
%div{ class: project_child_container_class(view_path) }
|
2018-12-07 09:11:42 -05:00
|
|
|
= render view_path, is_project_overview: true
|