Files
zulip/static/templates/subscription_invites_warning_modal.hbs
Anders Kaseorg 5fed442bb1 templates: Remove context argument from {{#tr}} block helper.
It only had one nontrivial use, and it’s easily replaced using the
builtin {{#with}} block helper.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-04-13 18:59:46 -07:00

16 lines
993 B
Handlebars

<div id='invites-warning-overlay' class='overlay new-style show' style='z-index:1000;'>
<div class="modal modal-bg" id="invites-warning-modal" tabindex="-1" role="dialog" aria-labelledby="invites-warning-label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close close-invites-warning-modal" aria-label="{{t 'Close' }}"><span aria-hidden="true">&times;</span></button>
<h3 id="invites-warning-label">{{t "Large number of subscribers" }}</h3>
</div>
<div class="modal-body">
<p>{{#tr}}Are you sure you want to create stream ''''{stream_name}'''' and subscribe {count} users to it?{{/tr}}</p>
</div>
<div class="modal-footer">
<button class="btn btn-default close-invites-warning-modal">{{t "Go back" }}</button>
<button class="btn btn-warning confirm-invites-warning-modal">{{#tr}}Yes, subscribe {count} users!{{/tr}}</button>
</div>
</div>
</div>