debian-mirror-gitlab/app/views/snippets/show.html.haml

17 lines
647 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @hide_top_links = true
- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
2018-03-17 18:26:18 +05:30
- add_to_breadcrumbs "Snippets", dashboard_snippets_path
- breadcrumb_title @snippet.to_reference
2017-08-17 22:00:37 +05:30
- page_title "#{@snippet.title} (#{@snippet.to_reference})", "Snippets"
2014-09-02 18:07:02 +05:30
2016-09-29 09:46:39 +05:30
= render 'shared/snippets/header'
2015-11-26 14:37:03 +05:30
2017-08-17 22:00:37 +05:30
.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
2017-09-10 17:25:29 +05:30
#notes.limited-width-notes= render "shared/notes/notes_with_form", :autocomplete => false