Änderungen von Dokument Documents Macro

Zuletzt geändert von teamwire004 am 2025/08/05 07:28

Von Version 2.1
bearbeitet von teamwire-admin
am 2024/01/16 09:29
Änderungskommentar: Migrated property [defaultCategories] from class [XWiki.WikiMacroClass]
Auf Version 4.1
bearbeitet von teamwire004
am 2024/07/08 14:57
Änderungskommentar: Migrated property [type] from class [XWiki.WikiMacroParameterClass]

Zusammenfassung

Details

Seiteneigenschaften
Dokument-Autor
... ... @@ -1,1 +1,1 @@
1 -XWiki.teamwire-admin
1 +XWiki.teamwire004
XWiki.WikiMacroClass[0]
Cached
... ... @@ -1,0 +1,1 @@
1 +Nein
Asynchrones Rendern
... ... @@ -1,0 +1,1 @@
1 +Nein
Makro-Code
... ... @@ -40,6 +40,14 @@
40 40   'sortable': false
41 41   }))
42 42  #end
43 +#if ("$!services.like" != "")
44 + #set($discard = $collist.add('_likes'))
45 + ## We can't make it sortable or filterable right now since it's not stored in DB.
46 + #set($discard = $colprops.put('_likes', {
47 + 'filterable': false,
48 + 'sortable': false
49 + }))
50 +#end
43 43  #if ($collist.contains('doc.location'))
44 44   #set ($discard = $options.put('selectedColumn','doc.location'))
45 45  #end
Default categories
... ... @@ -1,0 +1,1 @@
1 +Content
Standardkategorie
... ... @@ -1,1 +1,0 @@
1 -Content