2021-04-13 21:11:25 +00:00
|
|
|
- current_route_path = request.fullpath.match(%r{-/tree/[^/]+/(.+$)}).to_a[1]
|
2020-10-26 12:08:44 +00:00
|
|
|
- add_page_startup_graphql_call('repository/path_last_commit', { projectPath: @project.full_path, ref: current_ref, path: current_route_path || "" })
|
|
|
|
- add_page_startup_graphql_call('repository/permissions', { projectPath: @project.full_path })
|
|
|
|
- add_page_startup_graphql_call('repository/files', { nextPageCursor: "", pageSize: 100, projectPath: @project.full_path, ref: current_ref, path: current_route_path || "/"})
|
2017-07-12 08:16:32 +00:00
|
|
|
- breadcrumb_title _("Repository")
|
2017-07-11 07:53:52 +00:00
|
|
|
- @content_class = "limit-container-width" unless fluid_layout
|
2016-06-03 15:53:04 +00:00
|
|
|
|
2017-06-07 20:13:44 +00:00
|
|
|
- page_title @path.presence || _("Files"), @ref
|
2015-04-21 14:31:40 +00:00
|
|
|
= content_for :meta_tags do
|
2017-06-29 17:06:35 +00:00
|
|
|
= auto_discovery_link_tag(:atom, project_commits_url(@project, @ref, rss_url_options), title: "#{@project.name}:#{@ref} commits")
|
2017-07-18 09:15:02 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
= render 'projects/last_push'
|
|
|
|
= render 'projects/files', commit: @last_commit, project: @project, ref: @ref, content_url: project_tree_path(@project, @id)
|
2021-10-11 06:13:09 +00:00
|
|
|
= render 'shared/web_ide_path'
|