Index: wiki/src/main/resources/XWiki/DeletedDocuments.xml
===================================================================
--- wiki/src/main/resources/XWiki/DeletedDocuments.xml (revision 27497)
+++ wiki/src/main/resources/XWiki/DeletedDocuments.xml (working copy)
@@ -4,10 +4,10 @@
XWiki
DeletedDocuments
-fr
+en
0
Main.AllDocs
-XWiki.XWikiTeam
+XWiki.Admin
XWiki.Admin
XWiki.Admin
@@ -330,12 +330,13 @@
{{velocity}}##
+#if(!$xwiki.hasProgrammingRights())
+ {{warning}}This document requires programming rights and needs to be saved by an administrator of this Wiki{{/warning}}
+#else
#set($dateFormat = 'yyyy MMMM d, HH:mm')
#if(!$request.list)
$xwiki.ssx.use('XWiki.DeletedDocuments')##
-#if(!$xwiki.hasProgrammingRights())
- {{warning}}This document requires programming rights and needs to be saved by an administrator of this Wiki{{/warning}}
-#end
+
$xwiki.jsx.use('XWiki.DeletedDocuments')##
##
#set($columns = ["ddoc.fullName", "ddoc.title", "ddoc.date", "ddoc.deleter", 'actions'])
@@ -496,5 +497,6 @@
## ==============================================
#end ## xpage=plain
#end ## request.list
+#end ## program_right
{{/velocity}}
Index: wiki/src/main/resources/XWiki/DeletedAttachments.xml
===================================================================
--- wiki/src/main/resources/XWiki/DeletedAttachments.xml (revision 27497)
+++ wiki/src/main/resources/XWiki/DeletedAttachments.xml (working copy)
@@ -4,11 +4,11 @@
XWiki
DeletedAttachments
-fr
+en
0
Main.AllDocs
-XWiki.XWikiTeam
-XWiki.XWikiTeam
+XWiki.Admin
+XWiki.Admin
XWiki.Admin
1262178920000
@@ -314,12 +314,12 @@
{{velocity}}##
+#if(!$xwiki.hasProgrammingRights())
+ {{warning}}This document requires programming rights and needs to be saved by an administrator of this Wiki{{/warning}}
+#else
#set($dateFormat = 'yyyy MMMM d, HH:mm')
#if(!$request.list)
$xwiki.ssx.use('XWiki.DeletedAttachments')##
-#if(!$xwiki.hasProgrammingRights())
- {{warning}}This document requires programming rights and needs to be saved by an administrator of this Wiki{{/warning}}
-#end
$xwiki.jsx.use('XWiki.DeletedAttachments', {'minify' : 'false'})##
##
#set($columns = ['datt.filename', 'datt.docName', 'datt.date', 'datt.deleter', 'actions'])
@@ -480,5 +480,6 @@
## ==============================================
#end ## xpage=plain
#end ## request.list
+#end ## programRight
{{/velocity}}