Group filtering on dashboard
This commit is contained in:
parent
d6363e9359
commit
f9eda9b33a
6 changed files with 83 additions and 26 deletions
24
app/views/layouts/group.html.haml
Normal file
24
app/views/layouts/group.html.haml
Normal file
|
@ -0,0 +1,24 @@
|
|||
!!! 5
|
||||
%html{ lang: "en"}
|
||||
= render "layouts/head"
|
||||
%body{class: "#{app_theme} application"}
|
||||
= render "layouts/flash"
|
||||
= render "layouts/head_panel", title: "#{@group.name}:Dashboard"
|
||||
.container
|
||||
%ul.main_menu
|
||||
= nav_link(path: 'dashboard#index', html_options: {class: 'home'}) do
|
||||
= link_to "Home", root_path, title: "Home"
|
||||
= nav_link(path: 'dashboard#issues') do
|
||||
= link_to dashboard_issues_path(group: @group) do
|
||||
Issues
|
||||
%span.count= current_user.assigned_issues.opened.count
|
||||
= nav_link(path: 'dashboard#merge_requests') do
|
||||
= link_to dashboard_merge_requests_path(group: @group) do
|
||||
Merge Requests
|
||||
%span.count= current_user.cared_merge_requests.count
|
||||
= nav_link(path: 'search#show') do
|
||||
= link_to "People", "#"
|
||||
= nav_link(path: 'help#index') do
|
||||
= link_to "Help", help_path
|
||||
|
||||
.content= yield
|
Loading…
Add table
Add a link
Reference in a new issue