Author: cvrabie
Date: 2008-01-17 17:34:05 +0100 (Thu, 17 Jan 2008)
New Revision: 6939

Modified:
   xwiki-products/curriki/trunk/web/src/main/webapp/skins/curriki8/space.vm
Log:
CURRIKI-1517 Breadcrumbs now show the searched subject when browsing a group 
category

Modified: 
xwiki-products/curriki/trunk/web/src/main/webapp/skins/curriki8/space.vm
===================================================================
--- xwiki-products/curriki/trunk/web/src/main/webapp/skins/curriki8/space.vm    
2008-01-17 16:05:51 UTC (rev 6938)
+++ xwiki-products/curriki/trunk/web/src/main/webapp/skins/curriki8/space.vm    
2008-01-17 16:34:05 UTC (rev 6939)
@@ -118,9 +118,25 @@
 
    <a href="$bcDoc.getURL("view", 
"bc=${previousBc}${userArg}")">$currikiTitle</a>
    #set($previousBc = "${previousBc};${bcItem}")
+   
+   #set($more = "")
+   #if($bcDoc.fullName == "Groups.Browse")
+     #if( $request.subject )
+               #set($sdoc = $xwiki.getDocument($request.subject))
+               #set($more = "${sdoc.title} ${msg.get('browseGroups.groups')}")
+               #set($more_href = "${doc.getURL()}?subject=${request.subject}")
+     #end
+   #end
 
+ 
+   #if($more != "")
+     &gt; <a href="$more_href">$more</a>
+   #end
+   
+
   #end
  #end
+ 
 #end
 ##
 ##

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to