gitlabhq/app/views/layouts/application.html.haml

29 lines
1 KiB
Plaintext
Raw Normal View History

2012-02-09 08:59:04 +01:00
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Dashboard"
%body{class: "#{app_theme} application"}
= render "layouts/head_panel", title: "Dashboard"
= render "layouts/flash"
.container
%ul.main_menu
2013-01-27 11:56:20 +01:00
= nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do
= link_to root_path, title: "Home" do
%i.icon-home
= nav_link(path: 'dashboard#projects') do
2013-01-27 11:56:20 +01:00
= link_to projects_dashboard_path do
Projects
= nav_link(path: 'dashboard#issues') do
2013-01-27 11:56:20 +01:00
= link_to issues_dashboard_path do
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
Merge Requests
2012-12-22 23:39:42 +01:00
%span.count= current_user.cared_merge_requests.opened.count
= nav_link(path: 'search#show') do
= link_to "Search", search_path
2013-01-13 16:24:29 +01:00
= nav_link(controller: :help) do
= link_to "Help", help_path
.content= yield