diff --git a/files/omp/main.omp.yaml b/files/omp/main.omp.yaml index 380cfdc..bfbcda2 100644 --- a/files/omp/main.omp.yaml +++ b/files/omp/main.omp.yaml @@ -73,12 +73,13 @@ blocks: # STATIC UTILITY - type: exit - template: "{{ .Code }}" + template: "{{ if gt .Code 0 }}\uf00d {{ .Code }} {{ .Meaning }}{{ else }}\uf42e{{ end }}" properties: always_enabled: true <<: *diamond_prefix - background: "p:main-10" foreground: "p:main-70" + background_templates: + - "{{ if gt .Code 0 }}p:error-0{{ else }}p:main-10{{ end }}" - type: executiontime properties: