Return own tab for wall. Improve Wiki nav. Removed attachments listing page
This commit is contained in:
parent
6956f1f6e1
commit
ae06a0aab8
12 changed files with 25 additions and 62 deletions
|
@ -35,11 +35,17 @@
|
|||
Merge Requests
|
||||
%span.count.merge_counter= @project.merge_requests.opened.count
|
||||
|
||||
= nav_link(html_options: {class: "#{project_wiki_tab_class}"}) do
|
||||
= link_to 'Wiki', project_wiki_path(@project, :home)
|
||||
- if @project.wiki_enabled
|
||||
= nav_link(controller: :wikis) do
|
||||
= link_to 'Wiki', project_wiki_path(@project, :home)
|
||||
|
||||
- if @project.wall_enabled
|
||||
= nav_link(path: 'projects#wall') do
|
||||
= link_to 'Wall', wall_project_path(@project)
|
||||
|
||||
- if can? current_user, :admin_project, @project
|
||||
= nav_link(html_options: {class: "#{project_tab_class}"}) do
|
||||
= link_to edit_project_path(@project), class: "stat-tab tab " do
|
||||
Settings
|
||||
|
||||
.content= yield
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue