debian-mirror-gitlab/app/views/projects/show.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
1.3 KiB
Text
Raw Permalink Normal View History

2021-04-29 21:17:54 +05:30
- current_route_path = request.fullpath.match(%r{-/tree/[^/]+/(.+$)}).to_a[1]
2021-02-22 17:27:13 +05:30
- @skip_current_level_breadcrumb = true
2021-09-04 01:27:46 +05:30
- add_page_specific_style 'page_bundles/project'
2022-11-25 23:54:43 +05:30
- add_page_specific_style 'page_bundles/tree'
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
2022-10-11 01:57:18 +05:30
= render_if_exists 'shared/ultimate_feature_removal_banner', project: @project
2023-07-09 08:55:56 +05:30
= render_if_exists 'shared/promotions/promote_mobile_devops', project: @project
2017-09-10 17:25:29 +05:30
= render partial: 'flash_messages', locals: { project: @project }
2023-05-27 22:25:52 +05:30
2022-07-23 23:45:48 +05:30
= render 'clusters_deprecation_alert'
2015-04-26 12:48:37 +05:30
2020-11-24 15:15:51 +05:30
= render "projects/last_push"
2018-03-17 18:26:18 +05:30
2020-11-24 15:15:51 +05:30
= render "home_panel"
2018-11-20 20:47:30 +05:30
2023-03-04 22:38:38 +05:30
- if can?(current_user, :read_code, @project) && @project.repository_languages.present?
2021-12-07 22:27:20 +05:30
- add_page_startup_graphql_call('repository/path_last_commit', { projectPath: @project.full_path, ref: current_ref, path: current_route_path || "" })
2020-11-24 15:15:51 +05:30
= repository_languages_bar(@project.repository_languages)
2016-11-03 12:29:30 +05:30
2020-11-24 15:15:51 +05:30
= 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
2014-09-02 18:07:02 +05:30
2020-11-24 15:15:51 +05:30
- view_path = @project.default_view
2016-11-03 12:29:30 +05:30
2020-11-24 15:15:51 +05:30
%div{ class: project_child_container_class(view_path) }
= render view_path, is_project_overview: true