2012-02-09 09:59:04 +02:00
|
|
|
!!! 5
|
2012-08-10 18:07:50 -04:00
|
|
|
%html{ lang: "en"}
|
2012-11-28 19:40:54 +02:00
|
|
|
= render "layouts/head", title: "Dashboard"
|
2012-08-10 18:07:50 -04:00
|
|
|
%body{class: "#{app_theme} application"}
|
2012-02-09 09:59:14 +02:00
|
|
|
= render "layouts/flash"
|
2012-08-10 18:07:50 -04:00
|
|
|
= render "layouts/head_panel", title: "Dashboard"
|
2012-02-12 17:48:17 +02:00
|
|
|
.container
|
2012-09-26 17:00:52 -04:00
|
|
|
%ul.main_menu
|
2013-01-27 12:56:20 +02:00
|
|
|
= nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
|
2012-09-26 17:00:52 -04:00
|
|
|
= link_to "Home", root_path, title: "Home"
|
2013-01-27 12:34:27 +02:00
|
|
|
= nav_link(path: 'dashboard#projects') do
|
2013-01-27 12:56:20 +02:00
|
|
|
= link_to projects_dashboard_path do
|
2013-01-27 12:34:27 +02:00
|
|
|
Projects
|
2012-09-26 17:00:52 -04:00
|
|
|
= nav_link(path: 'dashboard#issues') do
|
2013-01-27 12:56:20 +02:00
|
|
|
= link_to issues_dashboard_path do
|
2012-09-26 17:00:52 -04:00
|
|
|
Issues
|
|
|
|
%span.count= current_user.assigned_issues.opened.count
|
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
2013-01-27 12:56:20 +02:00
|
|
|
= link_to merge_requests_dashboard_path do
|
2012-09-26 17:00:52 -04:00
|
|
|
Merge Requests
|
2012-12-23 00:39:42 +02:00
|
|
|
%span.count= current_user.cared_merge_requests.opened.count
|
2012-09-26 17:00:52 -04:00
|
|
|
= nav_link(path: 'search#show') do
|
|
|
|
= link_to "Search", search_path
|
2013-01-13 17:24:29 +02:00
|
|
|
= nav_link(controller: :help) do
|
2012-09-26 17:00:52 -04:00
|
|
|
= link_to "Help", help_path
|
|
|
|
|
|
|
|
.content= yield
|