gitlab-org--gitlab-foss/app/views/snippets/_snippets.html.haml

15 lines
428 B
Text
Raw Normal View History

- remote = local_assigns.fetch(:remote, false)
- link_project = local_assigns.fetch(:link_project, false)
2016-09-02 07:29:05 -04:00
.snippets-list-holder
%ul.content-list
= render partial: 'shared/snippets/snippet', collection: @snippets, locals: { link_project: link_project }
2016-09-02 07:29:05 -04:00
- if @snippets.empty?
%li
.nothing-here-block Nothing here.
2013-03-24 18:18:39 -04:00
= paginate @snippets, theme: 'gitlab', remote: remote
2016-09-02 07:29:05 -04:00
:javascript
gl.SnippetsList();