Read about our upcoming Code of Conduct on this issue

show.html.haml 768 Bytes
Newer Older
Phil Hughes's avatar
Phil Hughes committed
1
- @hide_top_links = true
2
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
3
- add_to_breadcrumbs _("Snippets"), dashboard_snippets_path
4
- breadcrumb_title @snippet.to_reference
5
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
6

7
8
9
10
- if Feature.enabled?(:snippets_vue)
  #js-snippet-view{ 'data-qa-selector': 'snippet_view' }
- else
  = render 'shared/snippets/header'
11

12
13
14
  .personal-snippets
    %article.file-holder.snippet-file-content
      = render 'shared/snippets/blob'
15

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

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