gitlabhq/app/views/snippets/index.html.haml
Dmitriy Zaporozhets 0712e78597 Snippet restyle
2011-12-15 08:12:24 +02:00

11 lines
327 B
Plaintext

%h2.icon
%span>
Snippets
- 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