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

index.html.haml « snippets « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 53d6b57f72874df234a8982dc18d51a3dcee3544 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
= render "projects/project_head"

- if can? current_user, :write_snippet, @project
  .alert-message.block-message
    = link_to new_project_snippet_path(@project), :class => "btn small add_new right", :title => "New Snippet" do
      Add new snippet
    Share code pastes with others if it cant be in a git repository
    %br
    To add new snippet - click on button.

- unless @snippets.fresh.empty?
  %table.zebra-striped.borders= render @snippets.fresh