2012-02-09 08:59:04 +01:00
|
|
|
!!! 5
|
2012-08-11 00:07:50 +02:00
|
|
|
%html{ lang: "en"}
|
2012-11-28 18:40:54 +01:00
|
|
|
= render "layouts/head", title: "Dashboard"
|
2012-08-11 00:07:50 +02:00
|
|
|
%body{class: "#{app_theme} application"}
|
2012-02-09 08:59:14 +01:00
|
|
|
= render "layouts/flash"
|
2012-08-11 00:07:50 +02:00
|
|
|
= render "layouts/head_panel", title: "Dashboard"
|
2012-02-12 16:48:17 +01:00
|
|
|
.container
|
2012-09-26 23:00:52 +02:00
|
|
|
%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 do
|
|
|
|
Issues
|
|
|
|
%span.count= current_user.assigned_issues.opened.count
|
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
|
|
|
= link_to dashboard_merge_requests_path do
|
|
|
|
Merge Requests
|
2012-12-22 23:39:42 +01:00
|
|
|
%span.count= current_user.cared_merge_requests.opened.count
|
2012-09-26 23:00:52 +02:00
|
|
|
= nav_link(path: 'search#show') do
|
|
|
|
= link_to "Search", search_path
|
|
|
|
= nav_link(path: 'help#index') do
|
|
|
|
= link_to "Help", help_path
|
|
|
|
|
|
|
|
.content= yield
|