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: e6bcd88f830e610f290e7827288076db26860f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
= render "projects/project_head"

%h3.page_title
  = @snippet.title
  %small= @snippet.file_name
  - if can?(current_user, :admin_snippet, @project) || @snippet.author == current_user
    = link_to "Edit", edit_project_snippet_path(@project, @snippet), class: "btn btn-small pull-right"

%br
%div= render 'blob'
%div#notes= render "notes/notes_with_form"