Author: sdumitriu
Date: 2007-12-03 15:59:03 +0100 (Mon, 03 Dec 2007)
New Revision: 6262
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/recyclebinlist.vm
Log:
XWIKI-1917: "Document does not exist" message always displays the content of
the recycle bin, even when empty
Fixed.
Also fixed some non-valid markup.
Modified:
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/recyclebinlist.vm
===================================================================
---
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/recyclebinlist.vm
2007-12-03 13:44:28 UTC (rev 6261)
+++
xwiki-platform/web/trunk/standard/src/main/webapp/skins/albatross/recyclebinlist.vm
2007-12-03 14:59:03 UTC (rev 6262)
@@ -1,9 +1,9 @@
### Show list of deleted documents
#set($dds=$xwiki.getDeletedDocuments($tdoc.getFullName(), $tdoc.getLanguage()))
-#if($dds)
-<center>
+#if($dds && ($dds.size() > 0))
+<div class="centered">
<p>$msg.get("core.recyclebin.showlistmsg")</p>
-<table>
+<table class="centered">
<thead>
<tr>
<th>$msg.get("core.recyclebin.deleter")</td>
@@ -29,5 +29,5 @@
#end
</tbody>
</table>
-</center>
+</div>
#end
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications