2016-01-19 16:12:03 +05:30
|
|
|
- @no_container = true
|
2018-05-09 12:01:36 +05:30
|
|
|
- breadcrumb_title _("Details")
|
2017-09-10 17:25:29 +05:30
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2016-01-19 16:12:03 +05:30
|
|
|
|
2015-09-11 14:41:01 +05:30
|
|
|
= content_for :meta_tags do
|
2017-09-10 17:25:29 +05:30
|
|
|
= auto_discovery_link_tag(:atom, project_path(@project, rss_url_options), title: "#{@project.name} activity")
|
2015-09-11 14:41:01 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
= render partial: 'flash_messages', locals: { project: @project }
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
- if !@project.empty_repo? && can?(current_user, :download_code, @project)
|
|
|
|
- signatures_path = project_signatures_path(@project, @project.default_branch)
|
2018-11-18 11:00:15 +05:30
|
|
|
.js-signature-container{ data: { 'signatures-path': signatures_path } }
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
|
|
|
|
= render "projects/last_push"
|
|
|
|
|
2019-02-13 22:33:31 +05:30
|
|
|
= render "home_panel"
|
2018-11-20 20:47:30 +05:30
|
|
|
|
2019-02-13 22:33:31 +05:30
|
|
|
- if can?(current_user, :download_code, @project) && @project.repository_languages.present?
|
2018-11-20 20:47:30 +05:30
|
|
|
= repository_languages_bar(@project.repository_languages)
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2016-01-19 16:12:03 +05:30
|
|
|
- if @project.archived?
|
|
|
|
.text-warning.center.prepend-top-20
|
|
|
|
%p
|
|
|
|
= icon("exclamation-triangle fw")
|
2018-05-09 12:01:36 +05:30
|
|
|
#{ _('Archived project! Repository and other project resources are read-only') }
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
- view_path = @project.default_view
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
- if show_auto_devops_callout?(@project)
|
|
|
|
= render 'shared/auto_devops_callout'
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
%div{ class: project_child_container_class(view_path) }
|
2019-02-13 22:33:31 +05:30
|
|
|
= render view_path, is_project_overview: true
|