2011-12-28 09:38:50 +02:00
|
|
|
= render "projects/project_head"
|
2011-12-08 01:35:57 +02:00
|
|
|
|
2011-12-15 08:12:24 +02:00
|
|
|
- unless @snippets.fresh.empty?
|
|
|
|
%div{ :class => "update-data ui-box ui-box-small ui-box-big" }
|
|
|
|
.data
|
|
|
|
= render @snippets.fresh
|
2012-01-18 01:19:57 +02:00
|
|
|
- else
|
|
|
|
.notice_holder
|
|
|
|
%li Snippets do not exist yet.
|
|
|
|
- if can? current_user, :write_snippet, @project
|
2012-01-18 22:15:45 +02:00
|
|
|
%li You can add a new one by clicking on "Add New" button
|
2012-01-18 01:19:57 +02:00
|
|
|
|