blob: dfea8b40bd839a27b1c6aa8de8e0d61cc034f935 (
plain)
1
2
3
4
5
6
7
8
9
10
|
- 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'
|