Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksei Kvitinskii <aleksei.kvitinskii@active.by>2011-10-21 16:56:37 +0400
committerAleksei Kvitinskii <aleksei.kvitinskii@active.by>2011-10-21 16:56:37 +0400
commitcee932500caf2d903e08f063772c570db4158925 (patch)
treec9faba3e634120f21b4863e80532ea732816a60a /app/views/projects/_top_menu.html.haml
parent48924dfeeafbe965ec06797b10010ebd8a5dcfcd (diff)
now you can view comrade profile info #134
Diffstat (limited to 'app/views/projects/_top_menu.html.haml')
-rw-r--r--app/views/projects/_top_menu.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_top_menu.html.haml b/app/views/projects/_top_menu.html.haml
index e281b93b287..59f2533ea7f 100644
--- a/app/views/projects/_top_menu.html.haml
+++ b/app/views/projects/_top_menu.html.haml
@@ -5,7 +5,7 @@
%span= link_to "Tree", tree_project_path(@project), :class => current_page?(:controller => "projects", :action => "tree", :id => @project) ? "current" : nil
%span= link_to "Commits", project_commits_path(@project), :class => current_page?(:controller => "commits", :action => "index", :project_id => @project) ? "current" : nil
%span
- = link_to team_project_path(@project), :class => current_page?(:controller => "projects", :action => "team", :id => @project) ? "current" : nil do
+ = link_to team_project_path(@project), :class => (current_page?(:controller => "projects", :action => "team", :id => @project) || controller.controller_name == "team_members") ? "current" : nil do
Team
- if @project.users_projects.count > 0
%span{ :class => "top_menu_count" }= @project.users_projects.count