diff --git a/src/main/resources/templates/dpra.md b/src/main/resources/templates/dpra.md index 411dbad..bac2bf8 100644 --- a/src/main/resources/templates/dpra.md +++ b/src/main/resources/templates/dpra.md @@ -243,7 +243,8 @@ ${potentialImpact.translations[.lang].name} <#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 /> diff --git a/src/main/resources/templates/itbp-a5.md b/src/main/resources/templates/itbp-a5.md index 287158c..3917fca 100644 --- a/src/main/resources/templates/itbp-a5.md +++ b/src/main/resources/templates/itbp-a5.md @@ -278,7 +278,8 @@ ${potentialImpact.translations[.lang].name} <#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 />