Author: sdumitriu
Date: 2007-12-11 19:22:12 +0100 (Tue, 11 Dec 2007)
New Revision: 6343

Modified:
   
xwiki-platform/web/branches/xwiki-web-1.2/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. Merged from [EMAIL PROTECTED]
(Thought I committed this in the 1.2 branch, too)


Modified: 
xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/recyclebinlist.vm
===================================================================
--- 
xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/recyclebinlist.vm
        2007-12-11 16:55:44 UTC (rev 6342)
+++ 
xwiki-platform/web/branches/xwiki-web-1.2/standard/src/main/webapp/skins/albatross/recyclebinlist.vm
        2007-12-11 18:22:12 UTC (rev 6343)
@@ -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

Reply via email to