summaryrefslogtreecommitdiff
path: root/app/views/projects/tree/show.html.haml
blob: 9d2aee7a8bdc6c25a2d74a412f7732bfd78a9c4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- @no_container = true
- breadcrumb_title _("Repository")
- @content_class = "limit-container-width" unless fluid_layout
- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.full_path, project_id: @project.path, id: @last_commit)

- page_title @path.presence || _("Files"), @ref
= content_for :meta_tags do
  = auto_discovery_link_tag(:atom, project_commits_url(@project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits")

.js-signature-container{ data: { 'signatures-path': signatures_path } }

%div{ class: [(container_class), ("limit-container-width" unless fluid_layout)] }
  = render 'projects/last_push'
  = render 'projects/files', commit: @last_commit, project: @project, ref: @ref, content_url: project_tree_path(@project, @id)