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

_sidebar_wiki_page.html.haml « wikis « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2c5c3aa68a3cbb4534da5073f8c23e6ef4948f28 (plain)
1
2
3
4
5
6
7
- wiki_path = wiki_page_path(@wiki, wiki_page)

%li{ class: active_when(params[:id] == wiki_page.slug) }
  .gl-relative.gl-display-flex.gl-align-items-center.js-wiki-list-toggle.wiki-list{ data: { testid: 'wiki-list' } }
    = render Pajamas::ButtonComponent.new(icon: 'plus', href: "#{wiki_path}/{new_page_title}", button_options: { class: 'wiki-list-create-child-button gl-bg-transparent! gl-hover-bg-gray-50! gl-focus-bg-gray-50! gl-absolute gl-top-half gl-translate-y-n50 gl-cursor-pointer gl-right-3' })
    = link_to wiki_path, data: { qa_selector: 'wiki_page_link', qa_page_name: wiki_page.human_title } do
      = wiki_page.human_title