@switch (activePanel()) {
@case ('standards') {
@if (selectedStandard(); as standard) {
{{ standard.name }}
{{ standard.area }}
The rule
{{ standard.rule }}
@if (standard.exceptions) {
Known exceptions
{{ standard.exceptions }}
} @else {
No exceptions. Fully complied with today.
}
} @else {
Select a standard.
}
}
@case ('delivery') {
@if (selectedGate(); as gate) {
{{ gate.name }}
{{ gate.stage }} · {{ gate.duration }}
What it does
{{ gate.detail }}
What it catches
{{ gate.catches }}
@if (activeRolloutStep(); as step) {
Rollout right now
{{ step.note }}
}
} @else {
Select a gate.
}
}
@case ('capacity') {
@if (selectedCapacity(); as metric) {
{{ metric.label }}
{{ metric.unit }}
} @else {
Select a metric.
}
}
@case ('resilience') {
@if (selectedPosture(); as item) {
{{ item.name }}
{{ postureLabels[item.state] }}
What we do
{{ item.summary }}
Evidence
@if (item.evidence) {
{{ item.evidence }}
} @else {
None. That is why this is a gap and not a claim.
}
@if (item.toClose) {
To close it
{{ item.toClose }}
}
Change history
} @else {
Select a posture item.
}
}
}