summaryrefslogtreecommitdiff
path: root/app/views/projects/snippets/show.html.haml
blob: fda068f08c22a2f181b1cd35994c03ee28822182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
- add_to_breadcrumbs "Snippets", dashboard_snippets_path
- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets"

= render 'shared/snippets/header'

.project-snippets
  %article.file-holder.snippet-file-content
    = render 'shared/snippets/blob'

  .row-content-block.top-block.content-component-block
    = render 'award_emoji/awards_block', awardable: @snippet, inline: true

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