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

Move new page link out of sub nav

parent 6f642fd4
No related branches found
No related tags found
1 merge request!4678Resolve "Graphs and Wiki subnav"
Loading
Loading
@@ -100,8 +100,8 @@
.sub-header-block {
background-color: $white-light;
border-bottom: 1px solid $white-dark;
margin: 11px 0;
padding-bottom: 11px;
padding: 11px 0;
margin-bottom: 11px;
 
.oneline {
line-height: 35px;
Loading
Loading
- if (@page && @page.persisted?)
- 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
= link_to namespace_project_wiki_history_path(@project.namespace, @project, @page), class: "btn" do
Page History
- if can?(current_user, :create_wiki, @project)
Loading
Loading
Loading
Loading
@@ -10,9 +10,4 @@
= link_to namespace_project_wikis_git_access_path(@project.namespace, @project) do
Git Access
 
- if can?(current_user, :create_wiki, @project)
= nav_link do
= link_to '#modal-new-wiki', "data-toggle" => "modal" do
New Page
= render 'projects/wikis/new'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment