Files
zulip/web/templates/draft_table_body.hbs
Anders Kaseorg 83b6866018 templates: Replace unnecessary {{#tr}} blocks with {{t}} helper.
`{{#tr}}` supports HTML and allows translators to accidentally
introduce HTML, so it’s safer to use the `{{t}}` helper unless HTML is
needed.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2023-03-16 11:26:45 -07:00

36 lines
1.3 KiB
Handlebars

<div id="draft_overlay" class="overlay new-style" data-overlay="drafts">
<div class="flex overlay-content">
<div class="drafts-container modal-bg">
<div class="drafts-header">
<h1>{{t 'Drafts' }}</h1>
<div class="exit">
<span class="exit-sign">&times;</span>
</div>
<div class="removed-drafts">
{{t "Drafts are not synced to other devices and browsers." }}
<br />
{{#tr}}Drafts older than <strong>{draft_lifetime}</strong> days are automatically removed.{{/tr}}
</div>
</div>
<div class="drafts-list">
<div class="no-drafts">
{{t 'No drafts.'}}
</div>
<div id="drafts-from-conversation">
<h2>{{narrow_drafts_header}}</h2>
{{#each narrow_drafts}}
{{> draft}}
{{/each}}
</div>
<div id="other-drafts">
<h2 id="other-drafts-header">Other drafts</h2>
{{#each other_drafts}}
{{> draft}}
{{/each}}
</div>
</div>
</div>
</div>
</div>