fixes to the calculator
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{/*
|
||||
Savings — an optional bar comparison (`bars`: name, amount, highlight) and
|
||||
a savings calculator (`apps`: name, cost, perSeat, selected; compared with
|
||||
`federatedAnnual`), rendered by partials/savings-calc.html.
|
||||
a savings calculator (`apps`: name, cost, tier, perSeat, selected; compared
|
||||
with the smallest of `federatedPlans`: name, tier, annual), rendered by partials/savings-calc.html.
|
||||
*/}}
|
||||
{{ $s := . }}
|
||||
{{ $key := partial "section-id.html" $s | default "savings" }}
|
||||
@@ -26,6 +26,6 @@
|
||||
{{ end }}
|
||||
|
||||
{{ with $s.apps }}
|
||||
{{ partial "savings-calc.html" (dict "key" $key "apps" . "annual" $s.federatedAnnual "note" $s.calcNote) }}
|
||||
{{ partial "savings-calc.html" (dict "key" $key "apps" . "plans" $s.federatedPlans "note" $s.calcNote) }}
|
||||
{{ end }}
|
||||
{{ if $s.ctas }}<div class="cta-row mt-2">{{ partial "sections/ctas.html" $s.ctas }}</div>{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user