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
|
2013-01-27 11:56:20 +01:00
|
|
|
= nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
|
2012-09-26 23:00:52 +02:00
|
|
|
= link_to "Home", root_path, title: "Home"
|
2013-01-27 11:34:27 +01:00
|
|
|
= nav_link(path: 'dashboard#projects') do
|
2013-01-27 11:56:20 +01:00
|
|
|
= link_to projects_dashboard_path do
|
2013-01-27 11:34:27 +01:00
|
|
|
Projects
|
2012-09-26 23:00:52 +02:00
|
|
|
= nav_link(path: 'dashboard#issues') do
|
2013-01-27 11:56:20 +01:00
|
|
|
= link_to issues_dashboard_path do
|
2012-09-26 23:00:52 +02:00
|
|
|
Issues
|
|
|
|
%span.count= current_user.assigned_issues.opened.count
|
|
|
|
= nav_link(path: 'dashboard#merge_requests') do
|
2013-01-27 11:56:20 +01:00
|
|
|
= link_to merge_requests_dashboard_path do
|
2012-09-26 23:00:52 +02:00
|
|
|
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
|
2013-01-13 16:24:29 +01:00
|
|
|
= nav_link(controller: :help) do
|
2012-09-26 23:00:52 +02:00
|
|
|
= link_to "Help", help_path
|
|
|
|
|
|
|
|
.content= yield
|