Ä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
6.1
bearbeitet von Daniel Herrmann
am 2025/09/20 09:54
am 2025/09/20 09:54
Änderungskommentar:
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.27.3]
Auf 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]
Zusammenfassung
Details
- XWiki.WikiMacroClass[0]
-
- Makro-Code
-
... ... @@ -26,44 +26,41 @@ 26 26 #if ($details.size() < 2) 27 27 $services.localization.render('rendering.macro.detailssummary.noresults') 28 28 #else 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## 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## 40 40 41 - #else 42 - #set ($d = $xwiki.getDocument($row.get(0))) 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 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()) 50 50 #end 51 - #if (!$title)52 - #set($title= $cell)53 - #e nd54 - | (((#if ($foreach.first)[[$services.rendering.escape($services.rendering.escape($title, $xwiki.currentContentSyntaxId), $xwiki.currentContentSyntaxId)>>$cell]]#{else}##55 - {{contextdocument="$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 48 + #end 49 + #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 + {{context document="$row.get(0)" restricted="true"}}## 54 + $cell## 55 + {{/context}} 56 + #end )))## 57 + #end## 58 + #if ($showLastModified)|$xwiki.formatDate($d.getDate())#end## 59 + #if ($showCreator)|#if ($d.getCreator() == "XWiki.superadmin")superadmin#else[[$d.getCreator()]]#end#end## 60 + #if ($showPageLabels)|#showTags($d)#end## 64 64 65 65 #end 66 - )))63 + #end 67 67 68 68 #end 69 69 #end ... ... @@ -74,7 +74,7 @@ 74 74 ## We need to check if there is a valid license because the macro is registered even if the user doesn't have view right 75 75 ## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that 76 76 ## don't have view right on those pages. 77 -#if ($services. promacrolicensing.hasLicensureForEntity($xcontext.macro.doc.documentReference))74 +#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference)) 78 78 #executeMacro 79 79 #else 80 80 {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
- XWiki.WikiMacroParameterClass[12]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -What to sort on. - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -sortBy
- XWiki.WikiMacroParameterClass[13]
-
- Parameter-Beschreibung
-
... ... @@ -1,1 +1,0 @@ 1 -Whether to reverse the sort. - Parameter-Name
-
... ... @@ -1,1 +1,0 @@ 1 -reverseSort