Update of /var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community In directory james.mmbase.org:/tmp/cvs-serv13893/community/src/webapp/editors/community
Modified Files: Tag: b1_5 grouplist_addusertogroup.jspf grouplist_table.jspf Log Message: CMSC-1284 - Community: change displaying users of a group See also: http://cvs.mmbase.org/viewcvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community See also: http://www.mmbase.org/jira/browse/CMSC-1284 Index: grouplist_addusertogroup.jspf =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/grouplist_addusertogroup.jspf,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -u -b -r1.3 -r1.3.2.1 --- grouplist_addusertogroup.jspf 8 Sep 2008 08:31:25 -0000 1.3 +++ grouplist_addusertogroup.jspf 11 Feb 2009 11:30:40 -0000 1.3.2.1 @@ -7,6 +7,11 @@ ${group.groupName} </edit:ui-tcolumn> <edit:ui-tcolumn titlekey="community.search.users"> + <c:if test="${group.userAmount <= 10}"> ${group.users} + </c:if> + <c:if test="${group.userAmount > 10}"> + <fmt:message key="community.preference.result.users"><fmt:param>${group.users}</fmt:param><fmt:param>${group.userAmount - 10}</fmt:param></fmt:message> + </c:if> </edit:ui-tcolumn> </edit:ui-table> \ No newline at end of file Index: grouplist_table.jspf =================================================================== RCS file: /var/cvs/contributions/CMSContainer_Modules/community/src/webapp/editors/community/grouplist_table.jspf,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -u -b -r1.3 -r1.3.2.1 --- grouplist_table.jspf 18 Sep 2008 06:29:21 -0000 1.3 +++ grouplist_table.jspf 11 Feb 2009 11:30:40 -0000 1.3.2.1 @@ -12,6 +12,11 @@ <a href="${userActionUrl}">${result.groupName}</a> </edit:ui-tcolumn> <edit:ui-tcolumn titlekey="community.search.users" > - ${result.users } + <c:if test="${result.userAmount <= 10}"> + ${result.users} + </c:if> + <c:if test="${result.userAmount > 10}"> + <fmt:message key="community.preference.result.users"><fmt:param>${result.users}</fmt:param><fmt:param>${result.userAmount - 10}</fmt:param></fmt:message> + </c:if> </edit:ui-tcolumn> </edit:ui-table> \ No newline at end of file _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs