gitlab-org--gitlab-foss/app/views/projects/snippets/show.html.haml
Tao Wang 9dfae2248d i18n: externalize strings from 'app/views/projects/snippets'
Signed-off-by: Tao Wang <twang2218@gmail.com>
2018-07-01 21:26:11 +10:00

15 lines
634 B
Text

- @content_class = "limit-container-width limited-inner-width-container" unless fluid_layout
- add_to_breadcrumbs _("Snippets"), project_snippets_path(@project)
- breadcrumb_title @snippet.to_reference
- page_title "#{@snippet.title} (#{@snippet.to_reference})", _("Snippets")
= render 'shared/snippets/header'
.project-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 => true