Wiki source code of App Within Minutes
Last modified by Alex Moruz on 2020/11/26 13:29
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | $services.localization.render('platform.appwithinminutes.description') | ||
3 | |||
4 | #if($hasCreateSpace) | ||
5 | (% class="buttonwrapper" %)[[$services.localization.render('platform.appwithinminutes.createAppButtonLabel')>>CreateApplication||class="button" queryString="wizard=true"]] | ||
6 | |||
7 | #end | ||
8 | = $services.localization.render('platform.appwithinminutes.appsLiveTableHeading') =## | ||
9 | #set($columnsProperties = { | ||
10 | 'doc.title': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true}, | ||
11 | 'doc.author': {'type': 'text', 'link': 'author', 'size': 10, 'filterable': true, 'sortable': true}, | ||
12 | 'doc.date': {'type': 'date', 'size': 10, 'filterable': true, 'sortable': true}, | ||
13 | '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']} | ||
14 | }) | ||
15 | #set($options = { | ||
16 | 'className': 'AppWithinMinutes.LiveTableClass', | ||
17 | 'resultPage' : 'AppWithinMinutes.AppsLiveTableResults', | ||
18 | 'translationPrefix': 'platform.appwithinminutes.appsLiveTable.', | ||
19 | 'tagCloud': true, | ||
20 | 'rowCount': 15, | ||
21 | 'maxPages': 10, | ||
22 | 'selectedColumn': 'doc.title', | ||
23 | 'defaultOrder': 'asc' | ||
24 | }) | ||
25 | #set($columns = ['doc.title', 'doc.author', 'doc.date', '_actions']) | ||
26 | #livetable('livetable' $columns $columnsProperties $options) | ||
27 | #set ($displayDocExtra = false) | ||
28 | {{/velocity}} |