Wiki source code of Public Activities
Last modified by Vincent Massol on 2017/08/18 12:14
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | #set($columns = ['type', 'title', 'activity', 'date']) | ||
3 | #set($columnsProperties = { | ||
4 | "type" : { "type" : "list" }, | ||
5 | "title" : { "type" : "text", "link" : "true" }, | ||
6 | "activity" : { "type" : "text" }, | ||
7 | "name" : { "type" : "text" }, | ||
8 | "date" : { "type" : "date" } | ||
9 | }) | ||
10 | #set($options = { | ||
11 | "className":"Activities.Code.ActivityClass", | ||
12 | "translationPrefix" : "activities.", | ||
13 | "tagCloud" : true, | ||
14 | "rowCount": 15, | ||
15 | 'selectedColumn': 'date', | ||
16 | 'defaultOrder': 'desc' | ||
17 | }) | ||
18 | #livetable("activities" $columns $columnsProperties $options) | ||
19 | {{/velocity}} |