gitlab-org--gitlab-foss/app/views/projects/blob/show.html.haml

20 lines
704 B
Plaintext
Raw Normal View History

- breadcrumb_title "Repository"
2016-06-23 22:25:14 +00:00
- @no_container = true
2015-04-30 17:06:18 +00:00
- page_title @blob.path, @ref
- 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 } }
%div{ class: container_class }
2018-01-09 23:05:50 +00:00
= render 'projects/last_push'
#tree-holder.tree-holder
= render 'blob', blob: @blob
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
- 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