gitlabhq/app/views/snippets/index.html.haml
2011-12-30 08:54:42 +02:00

9 lines
331 B
Plaintext

= render "projects/project_head"
- if can? current_user, :write_snippet, @project
.right= link_to 'New Snippet', new_project_snippet_path(@project), :class => "grey-button append-bottom-10"
- unless @snippets.fresh.empty?
%div{ :class => "update-data ui-box ui-box-small ui-box-big" }
.data
= render @snippets.fresh