Author: tmortagne
Date: 2007-10-05 18:15:31 +0200 (Fri, 05 Oct 2007)
New Revision: 5305

Modified:
   
xwiki-platform/xwiki-applications/trunk/wiki-manager/src/main/resources/WikiCode/LastWikiModificationsCode
Log:
XAWM-16: Fix document list limit in mixed wikis mode

Modified: 
xwiki-platform/xwiki-applications/trunk/wiki-manager/src/main/resources/WikiCode/LastWikiModificationsCode
===================================================================
--- 
xwiki-platform/xwiki-applications/trunk/wiki-manager/src/main/resources/WikiCode/LastWikiModificationsCode
  2007-10-05 16:06:32 UTC (rev 5304)
+++ 
xwiki-platform/xwiki-applications/trunk/wiki-manager/src/main/resources/WikiCode/LastWikiModificationsCode
  2007-10-05 16:15:31 UTC (rev 5305)
@@ -12,9 +12,9 @@
 <customClass></customClass>
 <contentAuthor>XWiki.Admin</contentAuthor>
 <creationDate>1191506975000</creationDate>
-<date>1191600053000</date>
-<contentUpdateDate>1191600053000</contentUpdateDate>
-<version>1.41</version>
+<date>1191600769000</date>
+<contentUpdateDate>1191600769000</contentUpdateDate>
+<version>1.42</version>
 <title></title>
 <template></template>
 <defaultTemplate></defaultTemplate>
@@ -78,6 +78,10 @@
   #addlastwikimodifications($documentlist $wikiname $usermodifications 
$usermodificationswiki $nb)
 #end
 
+#if($documentlist.size() &gt; $nb)
+  #set($documentlist = $documentlist.subList(0, $nb-1))
+#end
+
 #############################################################################
 
 &lt;ul&gt;

_______________________________________________
notifications mailing list
notifications@xwiki.org
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to