debian-mirror-gitlab/app/views/snippets/_snippets.html.haml
2019-02-13 22:33:31 +05:30

10 lines
337 B
Text

- link_project = local_assigns.fetch(:link_project, false)
.snippets-list-holder
%ul.content-list
= render partial: 'shared/snippets/snippet', collection: @snippets, locals: { link_project: link_project }
- if @snippets.empty?
%li
.nothing-here-block= _("Nothing here.")
= paginate @snippets, theme: 'gitlab'