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: 02794950895c2ee7ec281e904b6c1fbee7b1fc85 (plain)
1
2
3
4
5
6
- if @page&.persisted?
  = link_to wiki_page_path(@wiki, @page, action: :history), class: "btn gl-button", role: "button", data: { qa_selector: 'page_history_button' } do
    = s_("Wiki|Page history")
  - if can?(current_user, :create_wiki, @wiki.container)
    = link_to wiki_path(@wiki, action: :new), class: "btn gl-button btn-confirm-secondary", role: "button", data: { qa_selector: 'new_page_button' } do
      = s_("Wiki|New page")