2021-04-13 17:11:25 -04:00
|
|
|
- current_route_path = request.fullpath.match(%r{-/tree/[^/]+/(.+$)}).to_a[1]
|
2021-01-14 10:10:46 -05:00
|
|
|
- add_page_startup_graphql_call('repository/path_last_commit', { projectPath: @project.full_path, ref: current_ref, path: current_route_path || "" })
|
2017-07-11 03:53:52 -04:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2020-11-19 01:09:07 -05:00
|
|
|
- @skip_current_level_breadcrumb = true
|
2021-05-21 02:11:06 -04:00
|
|
|
- add_page_specific_style 'page_bundles/project'
|
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
|
|
|
|
2020-09-10 11:09:10 -04:00
|
|
|
= render "projects/last_push"
|
2018-01-09 18:05:50 -05:00
|
|
|
|
2020-09-10 11:09:10 -04:00
|
|
|
= render "home_panel"
|
2018-09-06 03:27:39 -04:00
|
|
|
|
2020-09-10 11:09:10 -04:00
|
|
|
- if can?(current_user, :download_code, @project) && @project.repository_languages.present?
|
|
|
|
= repository_languages_bar(@project.repository_languages)
|
2016-09-16 15:15:39 -04:00
|
|
|
|
2020-09-10 11:09:10 -04:00
|
|
|
= render "archived_notice", project: @project
|
|
|
|
= render_if_exists "projects/marked_for_deletion_notice", project: @project
|
|
|
|
= render_if_exists "projects/ancestor_group_marked_for_deletion_notice", project: @project
|
2021-07-27 08:10:54 -04:00
|
|
|
= render_if_exists 'projects/sast_entry_points', project: @project
|
2015-10-15 13:02:29 -04:00
|
|
|
|
2020-09-10 11:09:10 -04:00
|
|
|
- view_path = @project.default_view
|
2016-09-16 15:15:39 -04:00
|
|
|
|
2020-09-10 11:09:10 -04:00
|
|
|
- if show_auto_devops_callout?(@project)
|
|
|
|
= render 'shared/auto_devops_callout'
|
2017-09-01 07:18:00 -04:00
|
|
|
|
2020-09-10 11:09:10 -04:00
|
|
|
%div{ class: project_child_container_class(view_path) }
|
|
|
|
= render view_path, is_project_overview: true
|