diff options
| author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-06-16 12:21:23 -0500 |
|---|---|---|
| committer | Jacob Schatz <jschatz1@gmail.com> | 2016-06-21 12:15:49 -0400 |
| commit | 25ae737df0d8e3af9d40b60896ecb906237142ac (patch) | |
| tree | 7551af44be2ac490a31ba075f46704c1619b8ae2 | |
| parent | 1d7b809a01fcd4479191443598c364c367f17545 (diff) | |
| download | gitlab-ce-18533-graphs-wiki-subnav.tar.gz | |
Add new page button to wiki home18533-graphs-wiki-subnav
| -rw-r--r-- | app/views/projects/wikis/edit.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/wikis/edit.html.haml b/app/views/projects/wikis/edit.html.haml index af9d23bbfb3..bf5d09d50c2 100644 --- a/app/views/projects/wikis/edit.html.haml +++ b/app/views/projects/wikis/edit.html.haml @@ -15,6 +15,9 @@ Edit Page .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' |
