Commit bd70ef16 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch '273302-audit-and-update-buttons-on-projects-wikiscontroller-show' into 'master'

Resolve "Audit and update buttons on Projects::WikisController#show"

See merge request gitlab-org/gitlab!84786
parents ae61fec5 2f205602
- 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
= link_to wiki_page_path(@wiki, @page, action: :history), class: "btn gl-button btn-default", 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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment