Zuletzt geändert von Daniel Herrmann am 2026/02/04 20:25

Von Version Icon 5.1 Icon
bearbeitet von Daniel Herrmann
am 2025/07/19 16:57
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.27.1]
Auf Version Icon 8.1
bearbeitet von Daniel Herrmann
am 2026/02/04 20:25
Änderungskommentar: Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.29.1]

Zusammenfassung

Details

Icon XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,1 +1,0 @@
1 -Nein
Asynchrones Rendern
... ... @@ -1,1 +1,0 @@
1 -Nein
Makro-Code
... ... @@ -1,80 +1,0 @@
1 -{{include reference="Confluence.Macros.CommonCode" /}}
2 -
3 -{{velocity output="false"}}
4 -#macro (showTags $d)
5 - #foreach ($tag in $d.getTagList())
6 - [[$services.rendering.escape($services.rendering.escape($tag, $xwiki.currentContentSyntaxId), $xwiki.currentContentSyntaxId)>>Main.Tags||queryString="do=viewTag&tag=$escapetool.url($tag)"]]#if (!$foreach.last), #end
7 - #end
8 -#end
9 -
10 -#macro (executeMacro)
11 - #set ($title = $services.rendering.escape($wikimacro.parameters.firstcolumn, $xwiki.currentContentSyntaxId))
12 - #if (!$title)
13 - #set ($title = $services.localization.render('rendering.macro.detailssummary.firstcolumn'))
14 - #end
15 - #set ($results = $NULL)
16 - #getCQLMacroResults($xcontext.macro $results)
17 - #if ($results != $NULL)
18 - #set ($showLastModified = "$!xcontext.macro.params.showLastModified")
19 - #set ($showLastModified = $showLastModified.equalsIgnoreCase("true"))
20 - #set ($showPageLabels = "$!xcontext.macro.params.showPageLabels")
21 - #set ($showPageLabels = $showPageLabels.equalsIgnoreCase("true"))
22 - #set ($showCreator = "$!xcontext.macro.params.showCreator")
23 - #set ($showCreator = $showCreator.equalsIgnoreCase("true"))
24 - #set ($showAnyMetadata = $showLastModified || $showPageLabels || $showCreator)
25 - #set ($details = $services.confluence.details.getDetails("$!xcontext.macro.params.id", "$!xcontext.macro.params.headings", $results, "$!xcontext.macro.params.sortBy", "$!xcontext.macro.params.reverseSort" == "true"))
26 - #if ($details.size() < 2)
27 - $services.localization.render('rendering.macro.detailssummary.noresults')
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())
47 - #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##
61 -
62 - #end
63 - #end
64 -
65 - #end
66 - #end
67 -#end
68 -{{/velocity}}
69 -
70 -{{velocity}}
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 -## on the macro definition page. See XWIKI-14828: Rendering macros defined in wiki pages are available to users that
73 -## don't have view right on those pages.
74 -#if ($services.licensing.licensor.hasLicensureForEntity($xcontext.macro.doc.documentReference))
75 - #executeMacro
76 -#else
77 - {{missingLicenseMessage extensionName="proMacros.extension.name"/}}
78 -#end
79 -{{/velocity}}
80 -
Verfügbarkeit von Makroinhalten
... ... @@ -1,1 +1,0 @@
1 -No content
Makrobeschreibung
... ... @@ -1,1 +1,0 @@
1 -Confluence bridge for the Details Summary (Page Properties Report) macro to display properties attached to a page using the Details macro.
Makro id
... ... @@ -1,1 +1,0 @@
1 -confluence_detailssummary
Makroname
... ... @@ -1,1 +1,0 @@
1 -Confluence bridge for Details Summary
Unterstützt Inline-Modus
... ... @@ -1,1 +1,0 @@
1 -Nein
Makro-Sichtbarkeit
... ... @@ -1,1 +1,0 @@
1 -Current Wiki
Icon XWiki.WikiMacroParameterClass[0]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -The group of properties to show. If empty, will show page properties without identifiers.
Parameter verpflichtend
... ... @@ -1,1 +1,0 @@
1 -Nein
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -id
Icon XWiki.WikiMacroParameterClass[1]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Which column of the page properties to show. By default, all columns are shown. Columns with comma in their names require being quoted.
Parameter verpflichtend
... ... @@ -1,1 +1,0 @@
1 -Nein
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -headings
Icon XWiki.WikiMacroParameterClass[2]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -A query written in the Confluence Query Language (CQL) syntax defining the list of documents to show.
Parameter verpflichtend
... ... @@ -1,1 +1,0 @@
1 -Nein
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -cql
Icon XWiki.WikiMacroParameterClass[3]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -A list of tags to use, separated by a comma or a space. This value is ignored if the cql parameter is set. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -label
Icon XWiki.WikiMacroParameterClass[4]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -A custom title for the document name column
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -firstcolumn
Icon XWiki.WikiMacroParameterClass[5]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Show the last modified time of the page
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -showLastModified
Parameter-Typ
... ... @@ -1,1 +1,0 @@
1 -java.lang.Boolean
Icon XWiki.WikiMacroParameterClass[6]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Show the tags of listed documents
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -showPageLabels
Parameter-Typ
... ... @@ -1,1 +1,0 @@
1 -java.lang.Boolean
Icon XWiki.WikiMacroParameterClass[7]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Show the initial author of the listed documents
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -showCreator
Parameter-Typ
... ... @@ -1,1 +1,0 @@
1 -java.lang.Boolean
Icon XWiki.WikiMacroParameterClass[8]
Parameter-Vorgabe
... ... @@ -1,1 +1,0 @@
1 -OR
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Whether all the tags should match (AND), or any (OR). This value is ignored if the cql parameter is set. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.
Parameter verpflichtend
... ... @@ -1,1 +1,0 @@
1 -Nein
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -operator
Icon XWiki.WikiMacroParameterClass[9]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Maximum number of results. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.
Parameter verpflichtend
... ... @@ -1,1 +1,0 @@
1 -Nein
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -max
Parameter-Typ
... ... @@ -1,1 +1,0 @@
1 -java.lang.Integer
Icon XWiki.WikiMacroParameterClass[10]
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -What to sort on. The only supported values are "modified", "creation" and "title" for now. Ignored if an order by clause is present in the cql parameter. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.
Parameter verpflichtend
... ... @@ -1,1 +1,0 @@
1 -Nein
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -sort
Icon XWiki.WikiMacroParameterClass[11]
Parameter-Vorgabe
... ... @@ -1,1 +1,0 @@
1 -false
Parameter-Beschreibung
... ... @@ -1,1 +1,0 @@
1 -Whether to reverse the sort. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.
Parameter verpflichtend
... ... @@ -1,1 +1,0 @@
1 -Nein
Parameter-Name
... ... @@ -1,1 +1,0 @@
1 -reverse
Parameter-Typ
... ... @@ -1,1 +1,0 @@
1 -java.lang.Boolean