Wiki source code of TradeJournal

Version 4.2 by Drunk Monkey on 2020-05-12 06:39

Hide last authors
Drunk Monkey 1.1 1 {{velocity}}
2 #set ($columnsProperties = {
3 'forexPair': {},
4 'OpenDate': {"html":true},
5 'CloseDate': {"html":true},
6 'Entry': {},
7 'SL': {},
8 'TP1': {},
9 'TP2': {},
10 'TP3': {},
11 'TradeReason': {},
Drunk Monkey 4.1 12 'doc.creator': {"link":"author"},
13 'doc.title': {"link":"view"},
14 'doc.name': {"link":"view"},
15 'doc.location': {"html":true},
Drunk Monkey 1.1 16 '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
17 })
18 #set ($options = {
19 'className': 'TradeJournal.Code.TradeJournalClass',
20 'translationPrefix': 'tradejournal.livetable.',
21 'tagCloud': true,
22 'rowCount': 15,
23 'maxPages': 10,
24 'selectedColumn': 'forexPair',
25 'defaultOrder': 'asc'
26 })
Drunk Monkey 4.1 27 #set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', 'doc.creator', 'doc.title', 'doc.name', 'doc.location', '_actions'])
Drunk Monkey 1.1 28 #livetable('tradejournal' $columns $columnsProperties $options)
29 {{/velocity}}