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

#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id, 'report-abuse-path': snippet_report_abuse_path(@snippet) } }

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

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