summaryrefslogtreecommitdiff
path: root/app/views/snippets/_snippets.html.haml
blob: 69d41f8fe5e40f23bf6cd1c845327c33c4a43a25 (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'