Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into merge-0.42.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenkemnade committed Nov 27, 2024
2 parents 8f550ea + e9e1184 commit 872eee1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,4 @@ spotless {
trimTrailingWhitespace()
endWithNewline()
}
}
}
8 changes: 6 additions & 2 deletions src/main/resources/templates/libs/itbp-risk.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<#import "/libs/risk-commons.md" as rcom>

<#macro riskdisplay headinglevel targetObject risk domain riskDefinition={}>
<#assign riskCategoriesWithMatrix=riskDefinition.categories?filter(it->it.valueMatrix?has_content)>

<div class="risk">

Expand All @@ -15,7 +14,11 @@

<@com.def "Risikobeschreibung", scenario.description />

<#assign riskValues = risk.getRiskValues(domain.id, riskDefinition.id)>
<#if riskDefinition?has_content>

<#assign riskCategoriesWithMatrix=(riskDefinition.categories?filter(it->it.valueMatrix?has_content))>

<#assign riskValues = (risk.getRiskValues(domain.id, riskDefinition.id))!>

<#if riskValues?has_content && (riskValues.effectiveProbability?has_content
|| riskValues.effectiveProbabilityExplanation?has_content
Expand Down Expand Up @@ -111,6 +114,7 @@ ${riskValuesForCategory.riskTreatmentExplanation}
Für diese Gefährdung wurde noch keine Risikobewertung vorgenommen.
</#if>

</#if>
<#if risk.mitigation?has_content && risk.mitigation.parts?has_content>
<table class="table " style="width:100%;font-size:70%;">
<colgroup>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/vvt.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ dl.tom dd {
'person_contactInformation_email'
]/>

<#if (scope.scope_thirdCountry_status??)>
<#if scope.scope_thirdCountry_status!false>
<@table bundle.thirdCountry_table_caption, scope, [
'scope_thirdCountry_name',
'scope_thirdCountry_address1',
Expand Down

0 comments on commit 872eee1

Please sign in to comment.