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

_header.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: 76a9d3df5d7313e2687198c8e7ffd75465affe99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
- blame = local_assigns.fetch(:blame, false)
.js-file-title.file-title-flex-parent
  = render 'projects/blob/header_content', blob: blob

  .file-actions<
    = render 'projects/blob/viewer_switcher', blob: blob unless blame
    = edit_blob_button
    = ide_edit_button
    .btn-group.ml-2{ role: "group" }>
      = render_if_exists 'projects/blob/header_file_locks_link'
      - if current_user
        = replace_blob_link
        = delete_blob_link
    .btn-group.ml-2{ role: "group" }
      = copy_blob_source_button(blob) unless blame
      = open_raw_blob_button(blob)
      = download_blob_button(blob)
      = view_on_environment_button(@commit.sha, @path, @environment) if @environment

= render 'projects/fork_suggestion'
= render_if_exists 'projects/blob/header_file_locks', project: @project, path: @path