2013-07-13 05:45:48 +00:00
|
|
|
%h3.page-title
|
2013-03-24 21:16:52 +00:00
|
|
|
- if @snippet.private?
|
2013-06-24 22:57:26 +00:00
|
|
|
%i{:class => "icon-lock cgreen has_bottom_tooltip", "data-original-title" => "Private snippet"}
|
2013-03-24 21:16:52 +00:00
|
|
|
- else
|
2013-06-24 22:57:26 +00:00
|
|
|
%i{:class => "icon-globe cblue has_bottom_tooltip", "data-original-title" => "Public snippet"}
|
2013-03-24 21:16:52 +00:00
|
|
|
|
2012-02-07 23:00:49 +00:00
|
|
|
= @snippet.title
|
2011-10-16 21:07:10 +00:00
|
|
|
|
2013-06-05 19:25:27 +00:00
|
|
|
%small.pull-right
|
|
|
|
= "##{@snippet.id}"
|
|
|
|
%span.light
|
|
|
|
by
|
|
|
|
= image_tag gravatar_icon(@snippet.author_email), class: "avatar avatar-inline s16"
|
|
|
|
= @snippet.author_name
|
2012-11-26 04:14:05 +00:00
|
|
|
%div= render 'blob'
|