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: 767b973654538d15abc434d0f00a9890e6f76c9d (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 right"

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