Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_list.html.haml « snippets « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 766f48fff3d82408fe7c2bc4486213c5e49f3e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
- remote = local_assigns.fetch(:remote, false)
- link_project = local_assigns.fetch(:link_project, false)

- if @snippets.to_a.empty?
  .nothing-here-block= s_("SnippetsEmptyState|No snippets found")
- else
  .snippets-list-holder
    %ul.content-list
      = render partial: 'shared/snippets/snippet', collection: @snippets, locals: { link_project: link_project }

    = paginate @snippets, theme: 'gitlab', remote: remote