debian-mirror-gitlab/app/views/snippets/_snippets.html.haml

15 lines
428 B
Text
Raw Normal View History

2016-10-01 15:18:49 +05:30
- remote = local_assigns.fetch(:remote, false)
2017-08-17 22:00:37 +05:30
- link_project = local_assigns.fetch(:link_project, false)
2016-10-01 15:18:49 +05:30
2016-09-29 09:46:39 +05:30
.snippets-list-holder
%ul.content-list
2017-08-17 22:00:37 +05:30
= render partial: 'shared/snippets/snippet', collection: @snippets, locals: { link_project: link_project }
2016-09-29 09:46:39 +05:30
- 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();