diff options
Diffstat (limited to 'app/views/snippets/show.html.haml')
-rw-r--r-- | app/views/snippets/show.html.haml | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/app/views/snippets/show.html.haml b/app/views/snippets/show.html.haml index 970afbe6b64..706f13dd004 100644 --- a/app/views/snippets/show.html.haml +++ b/app/views/snippets/show.html.haml @@ -1,15 +1,14 @@ -- page_title @snippet.title, "Snippets" +- @hide_top_links = true +- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout +- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets" = render 'shared/snippets/header' -%article.file-holder.snippet-file-content - .js-file-title.file-title - = blob_icon 0, @snippet.file_name - = @snippet.file_name - .file-actions - = clipboard_button(clipboard_target: ".blob-content[data-blob-id='#{@snippet.id}']", class: "btn btn-sm") - = link_to 'Raw', raw_snippet_path(@snippet), class: "btn btn-sm", target: "_blank" - = link_to 'Download', download_snippet_path(@snippet), class: "btn btn-sm" - = render 'shared/snippets/blob' - -= render 'award_emoji/awards_block', awardable: @snippet, inline: true +.personal-snippets + %article.file-holder.snippet-file-content + = render 'shared/snippets/blob' + + .row-content-block.top-block.content-component-block + = render 'award_emoji/awards_block', awardable: @snippet, inline: true + + #notes.limited-width-notes= render "shared/notes/notes_with_form", :autocomplete => false |