zulip/zephyr/static/templates/zephyr.html

29 lines
1.2 KiB
HTML

{{! Client-side Mustache template for rendering zephyrs.}}
<td class="pointer"><p></p></td>
<td><p>
{{#is_huddle}}
<span class="hidden zephyr_huddle_recipients_list
">{{#display_recipient}}{{name}}, {{/display_recipient}}</span>
{{#display_recipient}}
<span class="label zephyr_label_clickable zephyr_huddle_recipient"
onclick="narrow_huddle({{id}})">{{name}}</span>
{{/display_recipient}}
&larr;
{{/is_huddle}}
{{#is_personal}}
<span class="label zephyr_label_clickable zephyr_personal_recipient"
onclick="narrow_personals({{id}})">{{display_recipient}}</span>
&larr;
{{/is_personal}}
{{#is_class}}
<span class="label zephyr_label_clickable zephyr_class"
onclick="narrow_class('{{display_recipient}}', {{id}})">{{display_recipient}}</span>
<span class="label zephyr_label_clickable zephyr_instance"
onclick="narrow_class('{{display_recipient}}', '{{instance}}', {{id}})">{{instance}}</span>
{{/is_class}}
<span class="label zephyr_label_clickable zephyr_sender"
onclick="prepare_personal('{{sender}}')">{{sender}}</span>
<br />
{{{html_content}}}
</p></td>