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

show.html.haml « snippets « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 79d87b7db127d89e8c291e2241c03cb9e6f930dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- page_title @snippet.title, "Snippets"

= render 'shared/snippets/header'

.project-snippets
  %article.file-holder.snippet-file-content
    .file-title
      = blob_icon 0, @snippet.file_name
      = @snippet.file_name
      .file-actions
        = clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']", class: "btn btn-sm")
        = link_to 'Raw', raw_namespace_project_snippet_path(@project.namespace, @project, @snippet), class: "btn btn-sm", target: "_blank"
    = render 'shared/snippets/blob'

  .row-content-block.top-block.content-component-block
    = render 'award_emoji/awards_block', awardable: @snippet, inline: true

  %div#notes= render "projects/notes/notes_with_form"