forked from thepeacockproject/Peacock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHitsCategoryElusiveTemplate.json
71 lines (71 loc) · 2.71 KB
/
HitsCategoryElusiveTemplate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"$datacontext": {
"in": "$.data",
"datavalues": {
"NoContractsAvailableLine": "UI_MENU_PAGE_NO_CONTRACTS_AVAILABLE",
"GroupedHits": {
"$arraygroupby": {
"source": "$.data.Data.Hits",
"property": "UserCentricContract.Contract.Metadata.Season"
}
}
},
"do": {
"controller": "category",
"id": "sub_category_container",
"row": -1,
"col": 0,
"view": "menu3.containers.ScrollingTabsContainer",
"ncols": 10,
"direction": "horizontal",
"submenunavigation": true,
"loopedselection": false,
"data": {
"direction": "horizontal",
"submenu": true
},
"children": {
"$each $.GroupedHits": {
"id": "$formatstring category_season_{$.by, .f}",
"view": "menu3.basic.SubCategoryElement",
"controller": "categoryitem",
"data": {
"title": "$loc $formatstring UI_SEASON_{$.by, .f}"
},
"children": [
{
"controller": "group",
"view": "menu3.containers.ScrollingListContainer",
"layoutchildren": true,
"id": "hitscategory_container",
"row": 1,
"nrows": 3,
"ncols": 10,
"pressable": false,
"navigationmode": "leaf-selection",
"data": {
"direction": "horizontal"
},
"hidedefaultnocontent": false,
"children": {
"$datacontext": {
"in": "$.",
"datavalues": {
"Data": {
"Hits": "$.group"
}
},
"do": {
"$include": {
"$path": "menusystem/elements/contract/hitscategory_contracts.json"
}
}
}
}
}
]
}
}
}
}
}