2017-06-23 06:45:08 -04:00
|
|
|
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
|
2018-06-14 05:19:12 -04:00
|
|
|
- add_to_breadcrumbs _("Snippets"), project_snippets_path(@project)
|
2017-08-17 05:42:04 -04:00
|
|
|
- breadcrumb_title @snippet.to_reference
|
2018-06-14 05:19:12 -04:00
|
|
|
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
|
2015-10-18 06:54:02 -04:00
|
|
|
|
2021-10-08 02:11:46 -04:00
|
|
|
#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id, 'report-abuse-path': snippet_report_abuse_path(@snippet), 'can-report-spam': @snippet.submittable_as_spam_by?(current_user).to_s } }
|
2015-10-18 06:54:02 -04:00
|
|
|
|
2020-02-14 13:08:45 -05:00
|
|
|
.row-content-block.top-block.content-component-block
|
2021-04-21 11:09:35 -04:00
|
|
|
= render 'award_emoji/awards_block', awardable: @snippet, inline: true, api_awards_path: project_snippets_award_api_path(@snippet)
|
2016-09-04 04:51:12 -04:00
|
|
|
|
2020-02-14 13:08:45 -05:00
|
|
|
#notes.limited-width-notes= render "shared/notes/notes_with_form", :autocomplete => true
|