2011-12-28 08:38:50 +01:00
|
|
|
= render "projects/project_head"
|
2011-12-08 00:35:57 +01:00
|
|
|
- if can? current_user, :write_snippet, @project
|
|
|
|
.right= link_to 'New Snippet', new_project_snippet_path(@project), :class => "grey-button append-bottom-10"
|
|
|
|
|
2011-12-15 07:12:24 +01:00
|
|
|
- unless @snippets.fresh.empty?
|
|
|
|
%div{ :class => "update-data ui-box ui-box-small ui-box-big" }
|
|
|
|
.data
|
|
|
|
= render @snippets.fresh
|