-
Notifications
You must be signed in to change notification settings - Fork 70
/
HeaderFormatIssueTracker.json
61 lines (61 loc) · 1.95 KB
/
HeaderFormatIssueTracker.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
{
"debugmode": "true",
"elmType": "div",
"attributes": {
"class": "=if([$Status] == 'Completed', 'ms-bgColor-greenDark', if([$Status] == 'Duplicate', 'ms-bgColor-yellowDark', if([$Status] == 'Blocked', 'ms-bgColor-redDark', if([$Status] == 'New', 'ms-bgColor-blueMid','ms-bgColor-orangeLighter'))))"
},
"style": {
"width": "99%",
"border-top-width": "0px",
"border-bottom-width": "1px",
"border-left-width": "0px",
"border-right-width": "0px",
"border-style": "solid",
"margin-bottom": "16px"
},
"children": [
{
"elmType": "div",
"style": {
"display": "flex",
"box-sizing": "border-box",
"align-items": "center"
},
"children": [
{
"elmType": "div",
"attributes": {
"iconName": "Bug",
"class": "ms-fontSize-42 ms-fontWeight-regular ms-fontColor-white",
"title": "Issue"
},
"style": {
"flex": "none",
"padding": "0px",
"padding-left": "0px",
"height": "36px"
}
}
]
},
{
"elmType": "div",
"attributes": {
"class": "ms-fontColor-white ms-fontWeight-bold ms-fontSize-24"
},
"style": {
"box-sizing": "border-box",
"width": "100%",
"text-align": "left",
"padding": "21px 12px",
"overflow": "hidden"
},
"children": [
{
"elmType": "div",
"txtContent": "=if ([$Title] == '', 'New Issue', 'Issue: ' + [$Title])"
}
]
}
]
}