gitlab-org--gitlab-foss/app/views/shared/snippets/_list.html.haml

13 lines
421 B
Text
Raw Normal View History

2019-02-22 07:12:36 -05:00
- remote = local_assigns.fetch(:remote, false)
- link_project = local_assigns.fetch(:link_project, false)
- if @snippets.exists?
.snippets-list-holder
%ul.content-list
= render partial: 'shared/snippets/snippet', collection: @snippets, locals: { link_project: link_project }
= paginate @snippets, theme: 'gitlab', remote: remote
- else
.nothing-here-block= s_("SnippetsEmptyState|No snippets found")