Skip to content
Snippets Groups Projects
Commit 42d7d42b authored by Sujal Gupta's avatar Sujal Gupta :speech_balloon:
Browse files

add new buttons

parent d40fe8fd
No related branches found
No related tags found
No related merge requests found
Pipeline #1546621443 passed with warnings
Pipeline: rspec:predictive

#1546642584

    Pipeline: GitLab

    #1546642535

      ......@@ -42,9 +42,15 @@
      %li
      %button.gl-border-none.gl-rounded-none.gl-p-0.btn-link.gl-button.js-trigger-search-bar{ type: 'button', class: "!gl-bg-transparent !gl-outline-none !gl-shadow-none" }
      = _('Use the search bar on the top of this page')
      %li
      = render(Pajamas::ButtonComponent.new(variant: :link, button_options: { class: "!gl-bg-transparent !gl-shadow-none js-trigger-search-bar" })) do
      Use the search bar on the top of this page - New
      %li
      %button.gl-border-none.gl-rounded-none.gl-p-0.btn-link.gl-button.js-trigger-shortcut{ type: 'button', class: "!gl-bg-transparent !gl-outline-none !gl-shadow-none" }
      = _('Use shortcuts')
      %li
      = render(Pajamas::ButtonComponent.new(variant: :link, button_options: { class: "!gl-bg-transparent !gl-shadow-none js-trigger-shortcut" })) do
      Use shortcuts - New
      - unless Gitlab::CurrentSettings.help_page_hide_commercial_content?
      %li= link_to _('Get a support subscription'), "#{ApplicationHelper.promo_url}/pricing/", { class: '!gl-text-link' }
      %li= link_to _('Compare GitLab editions'), "#{ApplicationHelper.promo_url}/features/#compare", { class: '!gl-text-link' }
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment