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

_main_links.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: 9a76069e8f62966d15110d5bfbf142cebcf9f8dd (plain)
1
2
3
4
5
6
- if @page&.persisted?
  = link_button_to wiki_page_path(@wiki, @page, action: :history), role: "button", data: { testid: 'page-history-button' } do
    = s_("Wiki|Page history")
  - if can?(current_user, :create_wiki, @wiki.container)
    = link_button_to wiki_path(@wiki, action: :new), role: "button", data: { testid: 'new-page-button' }, variant: :confirm, category: :secondary do
      = s_("Wiki|New page")