2016-10-01 15:18:49 +05:30
|
|
|
- remote = local_assigns.fetch(:remote, false)
|
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
.snippets-list-holder
|
|
|
|
%ul.content-list
|
|
|
|
= render partial: 'shared/snippets/snippet', collection: @snippets
|
|
|
|
- if @snippets.empty?
|
|
|
|
%li
|
|
|
|
.nothing-here-block Nothing here.
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-10-01 15:18:49 +05:30
|
|
|
= paginate @snippets, theme: 'gitlab', remote: remote
|
2016-09-29 09:46:39 +05:30
|
|
|
|
|
|
|
:javascript
|
|
|
|
gl.SnippetsList();
|