show.html.haml 330 Bytes
Newer Older
1
%h3.page_title
2
  - if @snippet.private?
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
3
    %i.icon-lock.cgreen
4
  - else
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
5
    %i.icon-globe.cblue
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'