show.html.haml 481 Bytes
Newer Older
1
%h3.page_title
2
  - if @snippet.private?
3
    %i{:class => "icon-lock cgreen has_bottom_tooltip", "data-original-title" => "Private snippet"}
4
  - else
5
    %i{:class => "icon-globe cblue has_bottom_tooltip", "data-original-title" => "Public snippet"}
6

7
  = @snippet.title
gitlabhq's avatar
gitlabhq committed
8

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
9
10
11
12
13
14
  %small.pull-right
    = "##{@snippet.id}"
    %span.light
      by
      = image_tag gravatar_icon(@snippet.author_email), class: "avatar avatar-inline s16"
      = @snippet.author_name
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
15
%br
16
%div= render 'blob'