Show last authors
| 1 | {{velocity}} |
| 2 | #set ($discard = $xwiki.ssfx.use('uicomponents/pagination/pagination.css', true)) |
| 3 | |
| 4 | == $services.localization.render('MoccaCalendar.calendarevent.viewall') == |
| 5 | {{/velocity}} |
| 6 | |
| 7 | {{moccacalendar filter="wiki"/}} |
| 8 | |
| 9 | {{velocity}} |
| 10 | == $services.localization.render('MoccaCalendar.calendar.viewall') == |
| 11 | |
| 12 | #if($hasEdit) |
| 13 | {{html}}<span class="buttonwrapper"><a class="button" href="$doc.getURL('create','template=MoccaCalendar.MoccaCalendarTemplate')">$escapetool.xml($services.localization.render('MoccaCalendar.calendar.create'))</a></span>{{/html}} |
| 14 | #end |
| 15 | |
| 16 | #set ($columnsProperties = { |
| 17 | 'doc.title': {"type":"text","size":10,"link":"view"}, |
| 18 | 'doc.creator': {"type":"text","size":10,"link":"author"}, |
| 19 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} |
| 20 | }) |
| 21 | #set ($options = { |
| 22 | 'className': 'MoccaCalendar.MoccaCalendarClass', |
| 23 | 'resultPage': 'MoccaCalendar.MoccaCalendarLiveTableResults', |
| 24 | 'translationPrefix': 'moccacalendar.livetable.', |
| 25 | 'tagCloud': false, |
| 26 | 'rowCount': 15, |
| 27 | 'maxPages': 10, |
| 28 | 'selectedColumn': 'doc.title', |
| 29 | 'defaultOrder': 'asc' |
| 30 | }) |
| 31 | #set ($columns = ['doc.title', 'doc.creator', '_actions']) |
| 32 | #livetable('moccacalendar' $columns $columnsProperties $options) |
| 33 | #set($docextras=[]){{/velocity}} |