debian-mirror-gitlab/app/views/projects/blob/show.html.haml

16 lines
516 B
Text
Raw Normal View History

2016-08-24 12:49:21 +05:30
- @no_container = true
2015-09-11 14:41:01 +05:30
- page_title @blob.path, @ref
2016-08-24 12:49:21 +05:30
= render "projects/commits/head"
2015-09-11 14:41:01 +05:30
2016-08-24 12:49:21 +05:30
%div{ class: container_class }
= render 'projects/last_push'
2015-09-11 14:41:01 +05:30
2016-08-24 12:49:21 +05:30
%div#tree-holder.tree-holder
= render 'blob', blob: @blob
2014-09-02 18:07:02 +05:30
2016-08-24 12:49:21 +05:30
- if can_edit_blob?(@blob)
= render 'projects/blob/remove'
2015-09-25 12:07:36 +05:30
2016-08-24 12:49:21 +05:30
- title = "Replace #{@blob.name}"
= render 'projects/blob/upload', title: title, placeholder: title, button_title: 'Replace file', form_path: namespace_project_update_blob_path(@project.namespace, @project, @id), method: :put