Änderungen von Dokument Confluence bridge for Details Summary (Page properties report)
Zuletzt geändert von Daniel Herrmann am 2026/02/04 20:25
Von Version
5.1
bearbeitet von Daniel Herrmann
am 2025/07/19 16:57
am 2025/07/19 16:57
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.27.1]
Auf Version
7.1
bearbeitet von Daniel Herrmann
am 2025/11/08 02:47
am 2025/11/08 02:47
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.28.4]
Zusammenfassung
Details
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -26,41 +26,44 @@ 26 26 #if ($details.size() < 2) 27 27 $services.localization.render('rendering.macro.detailssummary.noresults') 28 28 #else 29 - #foreach ($row in $details) 30 - #if ($foreach.first) 31 - |=$title## 32 - #foreach ($cell in $row) 33 - |=$cell## 34 - #end## 35 - #if ($showLastModified)|=$services.localization.render('rendering.macro.detailssummary.lastModified')#end## 36 - #if ($showCreator)|=$services.localization.render('rendering.macro.detailssummary.creator')#end## 37 - #if ($showPageLabels)|=$services.localization.render('rendering.macro.detailssummary.tags')#end## 38 - 39 - #else 40 - #set ($d = $xwiki.getDocument($row.get(0))) 41 - #foreach ($cell in $row) 42 - #set ($title = $d.getTitle()) 43 - #if (!$title) 44 - #set ($title = $d.getDocumentReference().getName()) 45 - #if ($title == "WebHome") 46 - #set ($title = $d.getDocumentReference().getParent().getName()) 29 + (% class="details_summary" %) 30 + ((( 31 + #foreach ($row in $details) 32 + #if ($foreach.first) 33 + |=$title## 34 + #foreach ($cell in $row) 35 + |=$cell## 36 + #end## 37 + #if ($showLastModified)|=$services.localization.render('rendering.macro.detailssummary.lastModified')#end## 38 + #if ($showCreator)|=$services.localization.render('rendering.macro.detailssummary.creator')#end## 39 + #if ($showPageLabels)|=$services.localization.render('rendering.macro.detailssummary.tags')#end## 40 + #else 41 + #set ($d = $xwiki.getDocument($row.get(0))) 42 + #set ($escapedReference = $services.rendering.escape($row.get(0), "xwiki/2.1")) 43 + #foreach ($cell in $row) 44 + #set ($title = $d.getTitle()) 45 + #if (!$title) 46 + #set ($title = $d.getDocumentReference().getName()) 47 + #if ($title == "WebHome") 48 + #set ($title = $d.getDocumentReference().getParent().getName()) 49 + #end 47 47 #end 48 - #e nd49 - # if(!$title)50 - # set ($title = $cell)51 - #end 52 - |(((#if ($foreach.first)[[$services.rendering.escape($services.rendering.escape($title,$xwiki.currentContentSyntaxId), $xwiki.currentContentSyntaxId)>>$cell]]#{else}##53 - {{contextdocument="$row.get(0)"restricted="true"}}##54 - $cell##55 - {{/context}}56 - #end )))##57 - #end## 58 - #if ($show LastModified)|$xwiki.formatDate($d.getDate())#end##59 - #if ($show Creator)|#if ($d.getCreator() == "XWiki.superadmin")superadmin#else[[$d.getCreator()]]#end#end##60 - # if ($showPageLabels)|#showTags($d)#end##51 + #if (!$title) 52 + #set ($title = $cell) 53 + #end 54 + | ((( #if ($foreach.first)[[$services.rendering.escape($services.rendering.escape($title, $xwiki.currentContentSyntaxId), $xwiki.currentContentSyntaxId)>>$escapedReference]]#{else}## 55 + {{context document="$row.get(0)" restricted="true"}}## 56 + $cell## 57 + {{/context}} 58 + #end )))## 59 + #end## 60 + #if ($showLastModified)|$xwiki.formatDate($d.getDate())#end## 61 + #if ($showCreator)|#if ($d.getCreator() == "XWiki.superadmin")superadmin#else[[$d.getCreator()]]#end#end## 62 + #if ($showPageLabels)|#showTags($d)#end## 63 + #end 61 61 62 62 #end 63 - #end66 + ))) 64 64 65 65 #end 66 66 #end ... ... @@ -71,7 +71,7 @@ 71 71 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 72 72 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 73 73 ## don't have view right on those pages. 74 -#if ($services.licensing. licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))77 +#if ($services.promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 75 75 #executeMacro 76 76 #else 77 77 {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
- XWiki.WikiMacroParameterClass[12]
-
- Parameter-Beschreibung
-
... ... @@ -1,0 +1,1 @@ 1 +What to sort on. - Parameter-Name
-
... ... @@ -1,0 +1,1 @@ 1 +sortBy
- XWiki.WikiMacroParameterClass[13]
-
- Parameter-Beschreibung
-
... ... @@ -1,0 +1,1 @@ 1 +Whether to reverse the sort. - Parameter-Name
-
... ... @@ -1,0 +1,1 @@ 1 +reverseSort