Skip to content
Snippets Groups Projects
Commit 25ae737d authored by Annabel Dunstone's avatar Annabel Dunstone Committed by Jacob Schatz
Browse files

Add new page button to wiki home

parent 1d7b809a
No related branches found
No related tags found
1 merge request!4678Resolve "Graphs and Wiki subnav"
Pipeline #
Loading
@@ -15,6 +15,9 @@
Loading
@@ -15,6 +15,9 @@
Edit Page Edit Page
   
.nav-controls .nav-controls
- if can?(current_user, :create_wiki, @project)
= link_to '#modal-new-wiki', class: "add-new-wiki btn btn-new", "data-toggle" => "modal" do
New Page
= render 'main_links' = render 'main_links'
   
   
Loading
Loading
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