Changes for page TradeJournal

Last modified by Drunk Monkey on 2024-09-27 08:27

From version 7.2
edited by Drunk Monkey
on 2024-09-27 08:27
Change comment: Updated application icon
To version 3.1
edited by Drunk Monkey
on 2020-05-12 06:32
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -1,12 +1,15 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 - 'doc.title': {"link":"view"},
4 4   'forexPair': {},
5 5   'OpenDate': {"html":true},
6 6   'CloseDate': {"html":true},
7 7   'Entry': {},
8 - 'shortText': {},
9 - 'TradeAnalysis': {"filterable":false,"sortable":false,"html":true}
7 + 'SL': {},
8 + 'TP1': {},
9 + 'TP2': {},
10 + 'TP3': {},
11 + 'TradeReason': {},
12 + '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
10 10  })
11 11  #set ($options = {
12 12   'className': 'TradeJournal.Code.TradeJournalClass',
... ... @@ -14,9 +14,9 @@
14 14   'tagCloud': true,
15 15   'rowCount': 15,
16 16   'maxPages': 10,
17 - 'selectedColumn': 'doc.title',
20 + 'selectedColumn': 'forexPair',
18 18   'defaultOrder': 'asc'
19 19  })
20 -#set ($columns = ['doc.title', 'forexPair', 'OpenDate', 'CloseDate', 'Entry', 'shortText', 'TradeAnalysis'])
23 +#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', '_actions'])
21 21  #livetable('tradejournal' $columns $columnsProperties $options)
22 22  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -doc.title forexPair OpenDate CloseDate Entry shortText TradeAnalysis
1 +forexPair OpenDate CloseDate Entry SL TP1 TP2 TP3 TradeReason _actions
Description
... ... @@ -1,15 +1,18 @@
1 -{{container layoutStyle="columns"}}
2 -(((**Mandatory**
1 +**Mandatory**
2 +
3 3  * Pair
4 4  * Open
5 5  * Close
6 6  * Entry
7 7  * SL
8 -* TP1)))
9 -(((**Optional**
8 +* TP1
9 +
10 +**Optional**
11 +
10 10  * TP2
11 -* TP3)))
12 -(((**Recommended**
13 +* TP3
14 +
15 +**Recommended**
16 +
13 13  * Reason
14 -* Analysis)))
15 -{{/container}}
18 +* Analysis