Änderungen von Dokument Tools für agile Lehre
Zuletzt geändert von Imke Peters am 2024/07/17 11:10
Von Version 21.1
bearbeitet von Imke Peters
am 2023/03/17 11:27
am 2023/03/17 11:27
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Auf Version 22.1
bearbeitet von Imke Peters
am 2023/03/17 11:28
am 2023/03/17 11:28
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -1,5 +1,19 @@ 1 1 {{velocity}} 2 2 #set ($discard = $xwiki.ssx.use('AGGIT.WebHome')) 3 + 4 +#set ($columns = ['doc.title', 'doc.location', 'doc.date', 'doc.author']) 5 +#set ($columnsProperties = { 6 + 'doc.title': {'link': 'view'}, 7 + 'doc.location': {'html': true}, 8 + 'doc.author': {'link': 'author'} 9 +}) 10 +#set ($start = $xwiki.jodatime.dateTime.minusDays(2).millis) 11 +#set ($end = $xwiki.jodatime.dateTime.millis) 12 +#set ($options = { 13 + 'translationPrefix' : 'platform.index.', 14 + 'extraParams': "&doc.date=${start}-${end}" 15 +}) 16 +#livetable('pages' $columns $columnsProperties $options) 3 3 {{/velocity}} 4 4 5 5 (% class="row" %) ... ... @@ -10,29 +10,5 @@ 10 10 11 11 12 12 Im Aufbau 13 - 14 -#set($collist = ['doc.name', 'doc.space', 'doc.date', 'doc.author']) 15 -#set($colprops = { 16 - 'doc.name' : { 'type' : 'text' , 'size' : 30, 'link' : 'view' }, 17 - 'doc.space' : { 'type' : 'text', 'link' : 'space' }, 18 - 'doc.date' : { 'type' : 'date' }, 19 - 'doc.author' : { 'type' : 'text', 'link' : 'author' } 20 -}) 21 -#set($options = { 22 - 'translationPrefix' : 'xe.index.', 23 - 'rowCount' : 15, 24 - 'description' : 'This table lists all the documents found on this wiki. The columns can be sorted and some can be filtered.' 25 -}) 26 -#if(!$isGuest) 27 - #set($discard = $collist.add('_actions')) 28 - #set($discard = $colprops.put('_actions', { 'actions' : ['copy', 'delete', 'rename', 'rights'] })) 29 -#end 30 -#livetable('alldocs' $collist $colprops $options) 31 - 32 - 33 - 34 34 ))) 35 - 36 - 37 - 38 38 )))