From 8d0004fb60952d76ec787bc0ad1add1a08103f70 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Thu, 28 May 2009 19:00:24 -0300 Subject: [PATCH] ActionItem1044: displaying number of members for organizations --- app/views/profile/_organization.rhtml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/profile/_organization.rhtml b/app/views/profile/_organization.rhtml index 164cc61..63fdf22 100644 --- a/app/views/profile/_organization.rhtml +++ b/app/views/profile/_organization.rhtml @@ -3,13 +3,15 @@ <%= display_field(_('Name:'), profile, :name) { |name| link_to name, profile.url } %> - - <%= link_to _('Members'), :controller => 'profile', :action => 'members' %> + + + <%= link_to _('Members') + " (%s)" % profile.members.count, :controller => 'profile', :action => 'members' %> <% if profile.kind_of?(Enterprise) && !profile.environment.enabled?('disable_products_for_enterprises') %> - + + <%= link_to _('Products/Services'), :controller => 'catalog', :action => 'index' %> -- libgit2 0.21.2