Files
zulip/static/templates/playground_links_popover_content.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

14 lines
361 B
Handlebars

{{! Contents of "view code in playground" popover for code blocks}}
<ul class="nav nav-list">
{{#each playground_info}}
<li>
<a href="{{this/playground_url}}" target="_blank" rel="noopener noreferrer" class="popover_playground_link">
{{#tr}}
View in {name}
{{/tr}}
</a>
</li>
{{/each}}
</ul>