gitlab-org--gitlab-foss/app/views/projects/tree/show.html.haml

21 lines
826 B
Text
Raw Normal View History

2016-06-03 11:53:04 -04:00
- @no_container = true
- breadcrumb_title _("Repository")
- @content_class = "limit-container-width" unless fluid_layout
2016-06-03 11:53:04 -04:00
2017-06-07 16:13:44 -04:00
- 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")
2017-07-18 05:15:02 -04:00
- if show_new_repo?
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'repo'
2017-07-18 05:15:02 -04:00
= render "projects/commits/head"
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
- if show_auto_devops_callout?(@project)
2017-09-01 08:32:05 -04:00
= render 'shared/auto_devops_callout'
= render 'projects/last_push'
2017-08-03 08:29:35 -04:00
= render 'projects/files', commit: @last_commit, project: @project, ref: @ref, content_url: project_tree_path(@project, @id)