2016-06-03 11:53:04 -04:00
|
|
|
- @no_container = true
|
2017-07-12 04:16:32 -04:00
|
|
|
- breadcrumb_title _("Repository")
|
2017-07-11 03:53:52 -04:00
|
|
|
- @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
|
2015-04-21 10:31:40 -04:00
|
|
|
= content_for :meta_tags do
|
2017-06-29 13:06:35 -04:00
|
|
|
= 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
|
|
|
|
2017-07-28 12:08:09 -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
|
|
|
|
2016-06-02 04:15:45 -04:00
|
|
|
= render "projects/commits/head"
|
2015-07-08 17:21:35 -04:00
|
|
|
|
2017-07-05 03:45:10 -04:00
|
|
|
%div{ class: [container_class, ("limit-container-width" unless fluid_layout)] }
|
2017-09-05 07:35:31 -04:00
|
|
|
- if show_auto_devops_callout?(@project)
|
2017-09-01 08:32:05 -04:00
|
|
|
= render 'shared/auto_devops_callout'
|
2017-07-05 03:45:10 -04:00
|
|
|
= 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)
|