... |
... |
@@ -1,21 +1,14 @@ |
1 |
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']} |
|
2 |
+#set ($columnsProperties = { |
|
3 |
+ 'doc.title': {"link":"view"}, |
|
4 |
+ 'doc.location': {"html":true}, |
|
5 |
+ 'doc.date': {}, |
|
6 |
+ 'doc.author': {"link":"author"}, |
|
7 |
+ '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} |
14 |
14 |
}) |
15 |
|
-#set($options = { |
16 |
|
- 'className': 'AppWithinMinutes.LiveTableClass', |
17 |
|
- 'resultPage' : 'AppWithinMinutes.AppsLiveTableResults', |
18 |
|
- 'translationPrefix': 'platform.appwithinminutes.appsLiveTable.', |
|
9 |
+#set ($options = { |
|
10 |
+ 'className': 'AppWithinMinutes.LiveTableTemplate', |
|
11 |
+ 'translationPrefix': 'livetabletemplate.livetable.', |
19 |
19 |
'tagCloud': true, |
20 |
20 |
'rowCount': 15, |
21 |
21 |
'maxPages': 10, |
... |
... |
@@ -22,7 +22,6 @@ |
22 |
22 |
'selectedColumn': 'doc.title', |
23 |
23 |
'defaultOrder': 'asc' |
24 |
24 |
}) |
25 |
|
-#set($columns = ['doc.title', 'doc.author', 'doc.date', '_actions']) |
26 |
|
-#livetable('livetable' $columns $columnsProperties $options) |
27 |
|
-#set ($displayDocExtra = false) |
|
18 |
+#set ($columns = ['doc.title', 'doc.location', 'doc.date', 'doc.author', '_actions']) |
|
19 |
+#livetable('livetabletemplate' $columns $columnsProperties $options) |
28 |
28 |
{{/velocity}} |