mirror of https://github.com/zulip/zulip.git
templates: Fix @partial-block invocations for explicitPartialContext.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
cde4c335b1
commit
8b37781b34
|
@ -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>
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue