Исходный код вики WebHomeTemplateIMC
Версия 1.1 от Eugen Colesnicov на 2013/03/20 14:56
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | {{velocity}} | ||
2 | {{html wiki="true"}} | ||
3 | |||
4 | #set($docextras = []) | ||
5 | |||
6 | #set($columns = [ | ||
7 | "DateSubmitted", | ||
8 | "Job", | ||
9 | "FirstName", | ||
10 | "LastName", | ||
11 | "Gender", | ||
12 | "DateOfBirth", | ||
13 | "EMail", | ||
14 | "PhoneNo", | ||
15 | "_attachments", | ||
16 | "_actions" | ||
17 | ]) | ||
18 | #set($columnsProperties = { | ||
19 | "DateSubmitted" : { "type" : "date" }, | ||
20 | "Job" : { "type" : "list" }, | ||
21 | "FirstName" : { "type" : "text", "link" : "view" }, | ||
22 | "LastName" : { "type" : "text", "link" : "view" }, | ||
23 | "Gender" : { "type" : "list" }, | ||
24 | "DateOfBirth" : { "type" : "date" }, | ||
25 | "EMail" : { "type" : "text" }, | ||
26 | "PhoneNo" : { "type" : "text" }, | ||
27 | "_attachments" : { "type" : "text", "filterable" : false, "sortable" : false }, | ||
28 | "_actions" : { "actions": ["edit","delete"]} | ||
29 | }) | ||
30 | #set($options = { | ||
31 | "className" : "etvcCVcode.CurriculumClass", | ||
32 | "translationPrefix" : "cv.livetable.", | ||
33 | "rowCount" : 20, | ||
34 | "pageSizeBounds" : [20,200,20] | ||
35 | }) | ||
36 | |||
37 | <div class="smallLivetableContainer"> | ||
38 | #livetable("cv" $columns $columnsProperties $options) | ||
39 | </div> | ||
40 | |||
41 | {{/velocity}} |