%nav.main_menu
- = render "layouts/const_menu_links"
+ = link_to "Home", root_path, :class => "home #{"current" if current_page?(projects_path) || current_page?(root_path)}", :title => "Home"
= link_to dashboard_issues_path, :class => "#{"current" if current_page?(dashboard_issues_path)}", :id => "issues_slide" do
Issues
%span.count= current_user.assigned_issues.opened.count
+++ /dev/null
-= link_to "Home", root_path, :class => "home #{"current" if current_page?(projects_path) || current_page?(root_path)}", :title => "Home"
%meta{:charset => "utf-8"}
%title
GitLab
- = " - #{@project.name}" if @project && !@project.new_record?
+ = " > #{@project.name}" if @project && !@project.new_record?
= favicon_link_tag 'favicon.ico'
= stylesheet_link_tag "application"
= javascript_include_tag "application"
%nav.main_menu
- = render "layouts/const_menu_links"
- = link_to project_path(@project), :class => "#{project_tab_class}", :title => "Project" do
- Project
-
+ = link_to @project.code, project_path(@project), :class => "home #{project_tab_class}", :title => "Project"
- if @project.repo_exists?
- if can? current_user, :download_code, @project
= link_to "Files", tree_project_ref_path(@project, @project.root_ref), :class => tree_tab_class
= render "layouts/head_panel", :title => "Admin area"
.container
%nav.main_menu
- = render "layouts/const_menu_links"
- = link_to "Stats", admin_root_path, :class => controller.controller_name == "dashboard" ? "current" : nil
+ = link_to "Stats", admin_root_path, :class => "home #{controller.controller_name == "dashboard" ? "current" : nil}"
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
= link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
= link_to "Emails", admin_emails_path, :class => controller.controller_name == "mailer" ? "current" : nil
= render "layouts/flash"
= render "layouts/head_panel", :title => ""
.container
- %nav.main_menu
- = render "layouts/const_menu_links"
.content
+ %br
%h3= yield
= render "layouts/head_panel", :title => "Profile"
.container
%nav.main_menu
- = render "layouts/const_menu_links"
- = link_to "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil
+ = link_to "Profile", profile_path, :class => "home #{current_page?(:controller => "profile", :action => :show) ? "current" : nil}"
= link_to "Password & token", profile_password_path, :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil
= link_to "Design", profile_design_path, :class => current_page?(:controller => "profile", :action => :design) ? "current" : nil
= link_to keys_path, :class => controller.controller_name == "keys" ? "current" : nil do