Welcome to mirror list, hosted at ThFree Co, Russian Federation.

show.html.haml « blob « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a0b0384d78d25dfd44d6dd7b87d81c31bbcb501e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- breadcrumb_title "Repository"
- @no_container = true

- 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 }
  = render 'projects/last_push'

  #tree-holder.tree-holder
    = render 'blob', blob: @blob

    - if can_modify_blob?(@blob)
      = render 'projects/blob/remove'

    - 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