Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
- "elmType": "div",
- "style": {
- "font-size": "16px"
- },
- "children": [
- {
- "elmType": "span",
- "attributes": {
- "title": "Step 1",
- "iconName": "=if([$Status] == 'Διαμόρφωση', 'CircleRing', 'SkypeCircleCheck')",
- "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 1', 'green', if([$Status] == 'Προς Εγκριτή 2', 'greenLight', 'neutralLight'))"
- },
- "style": {
- "padding": "0 2px"
- }
- },
- {
- "elmType": "span",
- "attributes": {
- "title": "Step 2",
- "iconName": "=if([$Status] == 'Προς Εγκριτή 1', 'CircleRing', 'SkypeCircleCheck')",
- "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 2', 'green', if([$Status] == 'Προς Εγκριτή 3', 'greenLight', 'neutralLight'))"
- },
- "style": {
- "padding": "0 2px"
- }
- },
- {
- "elmType": "span",
- "attributes": {
- "title": "Step 3",
- "iconName": "=if([$Status] == 'Προς Εγκριτή 2', 'CircleRing', 'SkypeCircleCheck')",
- "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 3', 'green', if([$Status] == 'Προς Εγκριτή 4', 'greenLight', 'neutralLight'))"
- },
- "style": {
- "padding": "0 2px"
- }
- },
- {
- "elmType": "span",
- "attributes": {
- "title": "Step 4",
- "iconName": "=if([$Status] == 'Προς Εγκριτή 3', 'CircleRing', 'SkypeCircleCheck')",
- "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 4', 'green', if([$Status] == 'Ολοκλήρωση', 'greenLight', 'neutralLight'))"
- },
- "style": {
- "padding": "0 2px"
- }
- },
- {
- "elmType": "span",
- "attributes": {
- "title": "Step 5",
- "iconName": "=if([$Status] == 'Προς Εγκριτή 4', 'CircleRing', 'SkypeCircleCheck')",
- "class": "='ms-fontColor-' + if([$Status] == 'Ολοκλήρωση', 'green', if([$Status] == 'Ολοκλήρωση', 'greenLight', 'neutralLight'))"
- },
- "style": {
- "padding": "0 2px"
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement