2017-07-12 08:16:32 +00:00
|
|
|
- breadcrumb_title "Repository"
|
2015-04-30 17:06:18 +00:00
|
|
|
- page_title @blob.path, @ref
|
2019-10-16 18:08:01 +00:00
|
|
|
- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.full_path, project_id: @project.path, id: @last_commit, limit: 1)
|
2019-09-03 09:03:35 +00:00
|
|
|
|
2018-08-02 16:17:20 +00:00
|
|
|
.js-signature-container{ data: { 'signatures-path': signatures_path } }
|
2018-07-23 14:58:21 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
= render 'projects/last_push'
|
2018-01-09 23:05:50 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
#tree-holder.tree-holder
|
|
|
|
= render 'blob', blob: @blob
|
2013-11-19 14:14:48 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
- if can_modify_blob?(@blob)
|
|
|
|
= render 'projects/blob/remove'
|
2015-09-17 06:34:30 +00:00
|
|
|
|
2019-09-03 09:03:35 +00:00
|
|
|
- title = "Replace #{@blob.name}"
|
|
|
|
= render 'projects/blob/upload', title: title, placeholder: title, button_title: 'Replace file', form_path: project_update_blob_path(@project, @id), method: :put
|
2020-02-24 21:09:08 +00:00
|
|
|
|
|
|
|
= render partial: 'pipeline_tour_success' if show_suggest_pipeline_creation_celebration?
|