2015-12-23 02:04:40 +05:30
|
|
|
.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
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2015-12-23 02:04:40 +05:30
|
|
|
= render 'projects/wikis/new'
|
2014-09-02 18:07:02 +05:30
|
|
|
|
2016-01-19 16:12:03 +05:30
|
|
|
%ul.nav-links
|
2015-12-23 02:04:40 +05:30
|
|
|
= 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
|