2017-09-10 17:25:29 +05:30
|
|
|
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
|
2018-11-08 19:23:39 +05:30
|
|
|
- add_to_breadcrumbs _("Snippets"), project_snippets_path(@project)
|
2018-03-17 18:26:18 +05:30
|
|
|
- breadcrumb_title @snippet.to_reference
|
2018-11-08 19:23:39 +05:30
|
|
|
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
|
2015-09-25 12:07:36 +05:30
|
|
|
|
2021-11-18 22:05:49 +05:30
|
|
|
#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 } }
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2020-03-13 15:44:24 +05:30
|
|
|
.row-content-block.top-block.content-component-block
|
2021-06-08 01:23:25 +05:30
|
|
|
= render 'award_emoji/awards_block', awardable: @snippet, inline: true, api_awards_path: project_snippets_award_api_path(@snippet)
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2020-03-13 15:44:24 +05:30
|
|
|
#notes.limited-width-notes= render "shared/notes/notes_with_form", :autocomplete => true
|