show.html.haml 688 字节
Newer Older
1
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
2
- add_to_breadcrumbs _("Snippets"), project_snippets_path(@project)
3
- breadcrumb_title @snippet.to_reference
4
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
D
Douwe Maan 已提交
5

L
Luke Bennett 已提交
6
= render 'shared/snippets/header'
D
Douwe Maan 已提交
7

8
.project-snippets
C
Clement Ho 已提交
9
  %article.file-holder.snippet-file-content{ class: ('use-csslab' if Feature.enabled?(:csslab)) }
D
Douwe Maan 已提交
10
    = render 'shared/snippets/blob'
D
Douwe Maan 已提交
11

A
Annabel Dunstone Gray 已提交
12 13
  .row-content-block.top-block.content-component-block
    = render 'award_emoji/awards_block', awardable: @snippet, inline: true
14

15
  #notes.limited-width-notes= render "shared/notes/notes_with_form", :autocomplete => true