debian-mirror-gitlab/app/views/explore/snippets/index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
485 B
Text
Raw Permalink Normal View History

2023-05-27 22:25:52 +05:30
- breadcrumb_title _("Snippets")
- page_title _("Explore snippets")
2020-07-28 23:09:34 +05:30
- header_title _("Snippets"), snippets_path
2015-09-25 12:07:36 +05:30
2023-05-27 22:25:52 +05:30
.page-title-holder.gl-display-flex.gl-align-items-center
%h1.page-title.gl-font-size-h-display= page_title
.page-title-controls
- if can?(current_user, :create_snippet)
= render Pajamas::ButtonComponent.new(href: new_snippet_path, variant: :confirm) do
= _("New snippet")
2015-09-25 12:07:36 +05:30
2019-07-07 11:18:12 +05:30
= render partial: 'shared/snippets/list', locals: { link_project: true }