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

11 lines
337 B
Text
Raw Normal View History

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
2018-12-23 12:14:25 +05:30
.nothing-here-block= _("Nothing here.")
2014-09-02 18:07:02 +05:30
2017-09-10 17:25:29 +05:30
= paginate @snippets, theme: 'gitlab'