2015-12-02 07:59:42 -05:00
|
|
|
.project-issuable-filter
|
|
|
|
.controls
|
|
|
|
- if can?(current_user, :create_wiki, @project)
|
|
|
|
= link_to '#modal-new-wiki', class: "add-new-wiki btn btn-new", "data-toggle" => "modal" do
|
|
|
|
%i.fa.fa-plus
|
|
|
|
New Page
|
2013-03-14 16:24:27 -04:00
|
|
|
|
2015-12-02 07:59:42 -05:00
|
|
|
= render 'projects/wikis/new'
|
2013-03-14 16:24:27 -04:00
|
|
|
|
2015-12-02 07:59:42 -05:00
|
|
|
%ul.center-top-menu
|
|
|
|
= nav_link(html_options: {class: params[:id] == 'home' ? 'active' : '' }) do
|
|
|
|
= link_to 'Home', namespace_project_wiki_path(@project.namespace, @project, :home)
|
|
|
|
|
|
|
|
= nav_link(path: 'wikis#pages') do
|
|
|
|
= link_to 'Pages', namespace_project_wiki_pages_path(@project.namespace, @project)
|
|
|
|
|
|
|
|
= nav_link(path: 'wikis#git_access') do
|
|
|
|
= link_to namespace_project_wikis_git_access_path(@project.namespace, @project) do
|
|
|
|
Git Access
|