templates: Fix @partial-block invocations for explicitPartialContext.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-18 12:13:43 -08:00 committed by Anders Kaseorg
parent cde4c335b1
commit 8b37781b34
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
{{#if banner_text}}
<p class="banner_content">{{banner_text}}</p>
{{else}}
<div class="banner_content">{{> @partial-block}}</div>
<div class="banner_content">{{> @partial-block .}}</div>
{{/if}}
{{#if button_text}}
<button class="main-view-banner-action-button{{#if hide_close_button}} right_edge{{/if}}" {{#if scheduling_message}}data-validation-trigger="schedule"{{/if}}>{{button_text}}</button>

View File

@ -3,7 +3,7 @@
{{#if banner_text}}
<p class="banner_content">{{banner_text}}</p>
{{else}}
<div class="banner_content">{{> @partial-block}}</div>
<div class="banner_content">{{> @partial-block .}}</div>
{{/if}}
{{#if button_text}}
{{#if button_link}}