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

_snippets_head.html.haml « dashboard « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e0e8aaa0fd94448ef828250616aed4fb41a30ecd (plain)
1
2
3
4
5
6
7
8
.page-title-holder.d-flex.align-items-center
  %h1.page-title.gl-font-size-h-display= _('Snippets')

  .page-title-controls.gl-display-flex.gl-align-items-center.gl-gap-5
    = link_to _("Explore snippets"), explore_snippets_path
    - if can?(current_user, :create_snippet)
      = render Pajamas::ButtonComponent.new(href: new_snippet_path, variant: :confirm, button_options: { title: _("New snippet") }) do
        = _("New snippet")