2017-07-12 08:16:32 +00:00
|
|
|
- breadcrumb_title "Repository"
|
2016-06-23 22:25:14 +00:00
|
|
|
- @no_container = true
|
2017-05-25 20:34:27 +00:00
|
|
|
|
2015-04-30 17:06:18 +00:00
|
|
|
- page_title @blob.path, @ref
|
2015-07-08 21:21:35 +00:00
|
|
|
|
2018-08-02 16:17:20 +00:00
|
|
|
- signatures_path = namespace_project_signatures_path(namespace_id: @project.namespace.full_path, project_id: @project.path, id: @last_commit)
|
|
|
|
.js-signature-container{ data: { 'signatures-path': signatures_path } }
|
2018-07-23 14:58:21 +00:00
|
|
|
|
2017-05-25 20:34:27 +00:00
|
|
|
%div{ class: container_class }
|
2018-01-09 23:05:50 +00:00
|
|
|
= render 'projects/last_push'
|
|
|
|
|
2017-12-21 15:05:47 +00:00
|
|
|
#tree-holder.tree-holder
|
|
|
|
= render 'blob', blob: @blob
|
2013-11-19 14:14:48 +00:00
|
|
|
|
2017-08-03 12:29:35 +00:00
|
|
|
- if can_modify_blob?(@blob)
|
|
|
|
= render 'projects/blob/remove'
|
2015-09-17 06:34:30 +00:00
|
|
|
|
2017-12-21 15:05:47 +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
|