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

15 lines
788 B
Text
Raw Normal View History

- @no_container = true
2017-09-10 17:25:29 +05:30
- breadcrumb_title _("Repository")
- @content_class = "limit-container-width" unless fluid_layout
2018-11-18 11:00:15 +05:30
- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.full_path, project_id: @project.path, id: @last_commit)
2017-09-10 17:25:29 +05:30
- page_title @path.presence || _("Files"), @ref
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_commits_url(@project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits")
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)] }
2017-09-10 17:25:29 +05:30
= render 'projects/last_push'
= render 'projects/files', commit: @last_commit, project: @project, ref: @ref, content_url: project_tree_path(@project, @id)