Author: sdumitriu
Date: 2008-02-13 19:28:02 +0100 (Wed, 13 Feb 2008)
New Revision: 7661
Added:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/recyclebinlist.vm
Removed:
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/recyclebinlist.vm
Log:
XWIKI-2114: Upgrade the default templates
XSALBATROSS-13: Move Albatross templates files to the XWiki Core templates
directory to share them with other skins
Deleted:
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/recyclebinlist.vm
===================================================================
---
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/recyclebinlist.vm
2008-02-13 18:27:50 UTC (rev 7660)
+++
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/recyclebinlist.vm
2008-02-13 18:28:02 UTC (rev 7661)
@@ -1,33 +0,0 @@
-### Show list of deleted documents
-#set($dds=$xwiki.getDeletedDocuments($tdoc.getFullName(), $tdoc.getLanguage()))
-#if($dds && ($dds.size() > 0))
-<div class="centered">
-<p>$msg.get("core.recyclebin.showlistmsg")</p>
-<table class="centered">
- <thead>
- <tr>
- <th>$msg.get("core.recyclebin.deleter")</td>
- <th>$msg.get("core.recyclebin.deleteDate")</td>
- <th colspan="2">$msg.get("core.recyclebin.actions")</th>
- </tr>
- </thead>
- <tbody>
- #foreach($dd in $dds)
- <tr>
- <td>$xwiki.getLocalUserName($dd.getDeleter())</td>
- <td><a href="$doc.getURL("view",
"viewer=recyclebin&id=$dd.getId()")">$xwiki.formatDate($dd.getDate())</a></td>
- <td>#if($dd.canUndelete()) <a href="$xwiki.getURL($tdoc.getFullName(),
"undelete", "id=$dd.getId()")">$msg.get("core.recyclebin.restore")</a> #end</td>
- <td>
- #if($dd.canDelete())
- <a href="$xwiki.getURL($tdoc.getFullName(), "delete", "id=$dd.getId()")"
- onclick="if
(confirm('$msg.get("core.recyclebin.completelyDeleteConfirm")')) {this.href +=
'&confirm=1'; return true;} return false;">
- $msg.get("core.recyclebin.delete")
- </a>
- #end
- </td>
- </tr>
- #end
- </tbody>
-</table>
-</div>
-#end
Copied:
xwiki-platform/web/trunk/standard/src/main/webapp/templates/recyclebinlist.vm
(from rev 7660,
xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/recyclebinlist.vm)
===================================================================
---
xwiki-platform/web/trunk/standard/src/main/webapp/templates/recyclebinlist.vm
(rev 0)
+++
xwiki-platform/web/trunk/standard/src/main/webapp/templates/recyclebinlist.vm
2008-02-13 18:28:02 UTC (rev 7661)
@@ -0,0 +1,33 @@
+### Show list of deleted documents
+#set($dds=$xwiki.getDeletedDocuments($tdoc.getFullName(), $tdoc.getLanguage()))
+#if($dds && ($dds.size() > 0))
+<div class="centered">
+<p>$msg.get("core.recyclebin.showlistmsg")</p>
+<table class="centered">
+ <thead>
+ <tr>
+ <th>$msg.get("core.recyclebin.deleter")</td>
+ <th>$msg.get("core.recyclebin.deleteDate")</td>
+ <th colspan="2">$msg.get("core.recyclebin.actions")</th>
+ </tr>
+ </thead>
+ <tbody>
+ #foreach($dd in $dds)
+ <tr>
+ <td>$xwiki.getLocalUserName($dd.getDeleter())</td>
+ <td><a href="$doc.getURL("view",
"viewer=recyclebin&id=$dd.getId()")">$xwiki.formatDate($dd.getDate())</a></td>
+ <td>#if($dd.canUndelete()) <a href="$xwiki.getURL($tdoc.getFullName(),
"undelete", "id=$dd.getId()")">$msg.get("core.recyclebin.restore")</a> #end</td>
+ <td>
+ #if($dd.canDelete())
+ <a href="$xwiki.getURL($tdoc.getFullName(), "delete", "id=$dd.getId()")"
+ onclick="if
(confirm('$msg.get("core.recyclebin.completelyDeleteConfirm")')) {this.href +=
'&confirm=1'; return true;} return false;">
+ $msg.get("core.recyclebin.delete")
+ </a>
+ #end
+ </td>
+ </tr>
+ #end
+ </tbody>
+</table>
+</div>
+#end
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications