Wiki source code of etvcEOL Home
Last modified by Eugen Colesnicov on 2013/03/26 23:25
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{include document="AppWithinMinutes.DynamicMessageTool" context="new" /}} | ||
2 | |||
3 | {{velocity}} | ||
4 | #set($originalMsg = $msg) | ||
5 | #set($msg = $services.dynamicMessageToolFactory.createDynamicMessageTool($msg, { | ||
6 | 'etvceol.livetable.num': 'Numbered assigned', | ||
7 | 'etvceol.livetable.proj': 'Project name', | ||
8 | 'etvceol.livetable.date1': 'Date of Eol', | ||
9 | 'etvceol.livetable.sldata': 'Short list data', | ||
10 | 'etvceol.livetable.date2': 'Proposal deadline', | ||
11 | 'etvceol.livetable.trez': 'Tender result', | ||
12 | 'etvceol.livetable._attachments': $msg.get('platform.appwithinminutes.liveTableEditorAttachmentsColumnName'), | ||
13 | 'etvceol.livetable.doc.date': $msg.get('platform.appwithinminutes.liveTableEditorDocDateColumnName'), | ||
14 | 'etvceol.livetable.doc.author': $msg.get('platform.appwithinminutes.liveTableEditorDocAuthorColumnName'), | ||
15 | 'etvceol.livetable._actions.edit': $msg.get('platform.appwithinminutes.appLiveTableEditEntryActionName'), | ||
16 | 'etvceol.livetable._actions.delete': $msg.get('platform.appwithinminutes.appLiveTableDeleteEntryActionName'), | ||
17 | 'etvceol.livetable._actions': $msg.get('platform.appwithinminutes.liveTableEditorActionsColumnName') | ||
18 | })) | ||
19 | #set($columnsProperties = { | ||
20 | 'num': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': false}, | ||
21 | 'proj': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': true}, | ||
22 | 'date1': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': false}, | ||
23 | 'sldata': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': true}, | ||
24 | 'date2': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': false}, | ||
25 | 'trez': {'type': 'text', 'size': 10, 'filterable': true, 'sortable': true, 'html': true}, | ||
26 | '_attachments': {'html': true, 'sortable': false}, | ||
27 | 'doc.date': {'type': 'text', 'link': 'view', 'size': 10, 'filterable': true, 'sortable': true}, | ||
28 | 'doc.author': {'type': 'text', 'link': 'author', 'size': 10, 'filterable': true, 'sortable': true}, | ||
29 | '_actions': {'html': true, 'sortable': false, 'actions': ['edit', 'delete']} | ||
30 | }) | ||
31 | #set($options = { | ||
32 | 'className': 'etvcEOL.etvcEOLClass', | ||
33 | 'resultPage' : 'AppWithinMinutes.LiveTableGenerator', | ||
34 | 'translationPrefix': 'etvceol.livetable.', | ||
35 | 'tagCloud': true, | ||
36 | 'rowCount': 15, | ||
37 | 'maxPages': 10, | ||
38 | 'selectedColumn': 'num', | ||
39 | 'defaultOrder': 'asc' | ||
40 | }) | ||
41 | #set($columns = ['num', 'proj', 'date1', 'sldata', 'date2', 'trez', '_attachments', 'doc.date', 'doc.author', '_actions']) | ||
42 | #livetable('etvceol' $columns $columnsProperties $options) | ||
43 | #set($msg = $originalMsg) | ||
44 | {{/velocity}} | ||
45 | |||
46 | {{calendar classname="etvcEOL.etvcEOLClass" startfield="date1" /}} |