Skip to content

Commit

Permalink
fix colors in risk matrixes
Browse files Browse the repository at this point in the history
verinice-veo#3076
  • Loading branch information
jochenkemnade committed Dec 2, 2024
1 parent 8894fad commit 0c73344
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/resources/templates/dpra.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ ${potentialImpact.translations[.lang].name}
</td>
<#list riskDefinition.probability.levels as probability>
<#assign risk=category.valueMatrix[potentialImpact.ordinalValue][probability.ordinalValue] />
<@matrixCell risk.htmlColor risk.translations[.lang].name />
<#assign riskDef=riskDefinition.riskValues[risk.ordinalValue] />
<@matrixCell riskDef.htmlColor riskDef.translations[.lang].name />
</#list>
</tr>
</#list>
Expand Down
3 changes: 2 additions & 1 deletion src/main/resources/templates/itbp-a5.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ ${potentialImpact.translations[.lang].name}
</td>
<#list riskDefinition.probability.levels as probability>
<#assign risk=category.valueMatrix[potentialImpact.ordinalValue][probability.ordinalValue] />
<@matrixCell risk.htmlColor risk.translations[.lang].name />
<#assign riskDef=riskDefinition.riskValues[risk.ordinalValue] />
<@matrixCell riskDef.htmlColor riskDef.translations[.lang].name />
</#list>
</tr>
</#list>
Expand Down

0 comments on commit 0c73344

Please sign in to comment.