2017-09-10 17:25:29 +05:30
|
|
|
- breadcrumb_title "Repository"
|
2015-09-11 14:41:01 +05:30
|
|
|
- page_title @blob.path, @ref
|
2018-11-18 11:00:15 +05:30
|
|
|
- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.full_path, project_id: @project.path, id: @last_commit)
|
2019-12-04 20:38:33 +05:30
|
|
|
|
2018-11-18 11:00:15 +05:30
|
|
|
.js-signature-container{ data: { 'signatures-path': signatures_path } }
|
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
= render 'projects/last_push'
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
#tree-holder.tree-holder
|
|
|
|
= render 'blob', blob: @blob
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
- if can_modify_blob?(@blob)
|
|
|
|
= render 'projects/blob/remove'
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2019-12-04 20:38:33 +05:30
|
|
|
- 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
|