Commit d5ee7a8
committed
fix: add background color to TLP badges and include TLP in job API. Closes #3150
- Added backgroundColor property to TLP badge component styling
- Implemented accessible text color logic (black for CLEAR/GREEN/AMBER, white for RED)
- Added tlp field to JobSerializer to return TLP value in job details API response
- Fixed issue where TLP badges showed only borders without background colors on job report page1 parent ce562a1 commit d5ee7a8
File tree
2 files changed
+9
-0
lines changed- api_app/serializers
- frontend/src/components/common
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
| 510 | + | |
510 | 511 | | |
511 | 512 | | |
512 | 513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| |||
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
| 27 | + | |
21 | 28 | | |
| 29 | + | |
22 | 30 | | |
23 | 31 | | |
24 | 32 | | |
| |||
0 commit comments