Advertisement
Guest User

First Demo Progression

a guest
Dec 6th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. {
  2. "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
  3. "elmType": "div",
  4. "style": {
  5. "font-size": "16px"
  6. },
  7. "children": [
  8. {
  9. "elmType": "span",
  10. "attributes": {
  11. "title": "Step 1",
  12. "iconName": "=if([$Status] == 'Διαμόρφωση', 'CircleRing', 'SkypeCircleCheck')",
  13. "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 1', 'green', if([$Status] == 'Προς Εγκριτή 2', 'greenLight', 'neutralLight'))"
  14. },
  15. "style": {
  16. "padding": "0 2px"
  17. }
  18. },
  19. {
  20. "elmType": "span",
  21. "attributes": {
  22. "title": "Step 2",
  23. "iconName": "=if([$Status] == 'Προς Εγκριτή 1', 'CircleRing', 'SkypeCircleCheck')",
  24. "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 2', 'green', if([$Status] == 'Προς Εγκριτή 3', 'greenLight', 'neutralLight'))"
  25. },
  26. "style": {
  27. "padding": "0 2px"
  28. }
  29. },
  30. {
  31. "elmType": "span",
  32. "attributes": {
  33. "title": "Step 3",
  34. "iconName": "=if([$Status] == 'Προς Εγκριτή 2', 'CircleRing', 'SkypeCircleCheck')",
  35. "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 3', 'green', if([$Status] == 'Προς Εγκριτή 4', 'greenLight', 'neutralLight'))"
  36. },
  37. "style": {
  38. "padding": "0 2px"
  39. }
  40. },
  41. {
  42. "elmType": "span",
  43. "attributes": {
  44. "title": "Step 4",
  45. "iconName": "=if([$Status] == 'Προς Εγκριτή 3', 'CircleRing', 'SkypeCircleCheck')",
  46. "class": "='ms-fontColor-' + if([$Status] == 'Προς Εγκριτή 4', 'green', if([$Status] == 'Ολοκλήρωση', 'greenLight', 'neutralLight'))"
  47. },
  48. "style": {
  49. "padding": "0 2px"
  50. }
  51. },
  52. {
  53. "elmType": "span",
  54. "attributes": {
  55. "title": "Step 5",
  56. "iconName": "=if([$Status] == 'Προς Εγκριτή 4', 'CircleRing', 'SkypeCircleCheck')",
  57. "class": "='ms-fontColor-' + if([$Status] == 'Ολοκλήρωση', 'green', if([$Status] == 'Ολοκλήρωση', 'greenLight', 'neutralLight'))"
  58. },
  59. "style": {
  60. "padding": "0 2px"
  61. }
  62. }
  63. ]
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement