Changes for page TradeJournal

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

From version 1.1
edited by Drunk Monkey
on 2020-05-12 06:26
Change comment: Update LiveTable
To version 6.1
edited by Drunk Monkey
on 2024-09-27 08:21
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -4,12 +4,8 @@
4 4   'OpenDate': {"html":true},
5 5   'CloseDate': {"html":true},
6 6   'Entry': {},
7 - 'SL': {},
8 - 'TP1': {},
9 - 'TP2': {},
10 - 'TP3': {},
11 - 'TradeReason': {},
12 - '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]}
7 + 'shortText': {},
8 + 'TradeAnalysis': {"filterable":false,"sortable":false,"html":true}
13 13  })
14 14  #set ($options = {
15 15   'className': 'TradeJournal.Code.TradeJournalClass',
... ... @@ -20,6 +20,6 @@
20 20   'selectedColumn': 'forexPair',
21 21   'defaultOrder': 'asc'
22 22  })
23 -#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', '_actions'])
19 +#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'shortText', 'TradeAnalysis'])
24 24  #livetable('tradejournal' $columns $columnsProperties $options)
25 25  {{/velocity}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -forexPair OpenDate CloseDate Entry SL TP1 TP2 TP3 TradeReason _actions
1 +forexPair OpenDate CloseDate Entry shortText TradeAnalysis
Description
... ... @@ -1,0 +1,15 @@
1 +{{container layoutStyle="columns"}}
2 +(((**Mandatory**
3 +* Pair
4 +* Open
5 +* Close
6 +* Entry
7 +* SL
8 +* TP1)))
9 +(((**Optional**
10 +* TP2
11 +* TP3)))
12 +(((**Recommended**
13 +* Reason
14 +* Analysis)))
15 +{{/container}}
XWiki.UIExtensionClass[0]
Extension ID
... ... @@ -1,0 +1,1 @@
1 +platform.panels.TradeJournalApplication
Extension Parameters
... ... @@ -1,0 +1,3 @@
1 +label=TradeJournal
2 +target=TradeJournal.WebHome
3 +icon=icon:dollar