summaryrefslogtreecommitdiff
path: root/app/views/layouts/group.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-10-02 19:37:53 +0300
committerDmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com>2012-10-02 19:37:53 +0300
commitf9eda9b33a72cae91e51c5733fdf2c0d7b37d149 (patch)
tree047f33b2be543f8cbd4febcd109a0b7bd37a2e03 /app/views/layouts/group.html.haml
parentd6363e935933551b7f9edb4063d0b0fbcea3c824 (diff)
downloadgitlab-ce-f9eda9b33a72cae91e51c5733fdf2c0d7b37d149.tar.gz
Group filtering on dashboard
Diffstat (limited to 'app/views/layouts/group.html.haml')
-rw-r--r--app/views/layouts/group.html.haml24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/views/layouts/group.html.haml b/app/views/layouts/group.html.haml
new file mode 100644
index 00000000000..810c296eea8
--- /dev/null
+++ b/app/views/layouts/group.html.haml
@@ -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