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

show.html.haml « snippets « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 18348fb10679ecbe87ee24684c001ea68a9dc975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%h3.page_title
  - if @snippet.private?
    %i.icon-lock
  - else
    %i.icon-globe

  = @snippet.title
  %small= @snippet.file_name
  - if @snippet.author == current_user
    = link_to "Edit", edit_snippet_path(@snippet), class: "btn btn-small pull-right", title: 'Edit Snippet'

%br
%div= render 'blob'