gitlabhq/app/views/snippets/index.html.haml
2012-01-18 22:15:45 +02:00

13 lines
354 B
Plaintext

= render "projects/project_head"
- unless @snippets.fresh.empty?
%div{ :class => "update-data ui-box ui-box-small ui-box-big" }
.data
= render @snippets.fresh
- else
.notice_holder
%li Snippets do not exist yet.
- if can? current_user, :write_snippet, @project
%li You can add a new one by clicking on "Add New" button