gitlab-org--gitlab-foss/app/views/snippets/show.html.haml

19 lines
762 B
Text
Raw Normal View History

2017-07-07 06:51:03 -04:00
- @hide_top_links = true
- @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")
- if Feature.enabled?(:snippets_vue)
#js-snippet-view{ data: {'qa-selector': 'snippet_view', 'snippet-gid': @snippet.to_global_id} }
- else
= render 'shared/snippets/header'
2015-10-18 06:54:02 -04:00
.personal-snippets
= render 'shared/snippets/blob', blob: @blob
.row-content-block.top-block.content-component-block
= render 'award_emoji/awards_block', awardable: @snippet, inline: true
2017-04-27 06:41:26 -04:00
#notes.limited-width-notes= render "shared/notes/notes_with_form", :autocomplete => false