2012-09-04 18:20:07 +02:00
|
|
|
{{! Client-side Mustache template for rendering zephyrs.}}
|
2012-09-19 23:38:27 +02:00
|
|
|
<tr zid="{{id}}" class="zephyr_row" onmouseover="select_zephyr_by_id({{id}});">
|
2012-09-18 16:45:25 +02:00
|
|
|
<td class="pointer"><p></p></td>
|
2012-09-19 19:26:49 +02:00
|
|
|
<td class="zephyr_recipient"><p onclick="select_zephyr_by_id({{id}})">
|
2012-09-13 22:00:11 +02:00
|
|
|
{{#include_recipient}}
|
2012-09-18 16:45:25 +02:00
|
|
|
{{#is_huddle}}
|
|
|
|
<span class="hidden zephyr_huddle_recipients_list">{{#display_recipient}}{{name}},{{/display_recipient}}</span>
|
|
|
|
{{#display_recipient}}
|
2012-09-19 23:38:27 +02:00
|
|
|
{{! We have to select again because the user might have moved the pointer using the keyboard.}}
|
2012-09-18 16:45:25 +02:00
|
|
|
<span class="zephyr_label_clickable zephyr_huddle_recipient"
|
2012-09-19 19:26:49 +02:00
|
|
|
onclick="select_zephyr_by_id({{id}}); narrow_huddle();">{{name}}</span>
|
2012-09-18 16:45:25 +02:00
|
|
|
{{/display_recipient}}
|
|
|
|
←
|
|
|
|
{{/is_huddle}}
|
|
|
|
{{#is_personal}}
|
|
|
|
<span class="zephyr_label_clickable zephyr_personal_recipient"
|
2012-09-19 19:26:49 +02:00
|
|
|
onclick="select_zephyr_by_id({{id}}); narrow_personals();">{{display_recipient}}</span>
|
2012-09-18 16:45:25 +02:00
|
|
|
←
|
|
|
|
{{/is_personal}}
|
|
|
|
{{#is_class}}
|
|
|
|
<span class="zephyr_label_clickable zephyr_class"
|
2012-09-19 19:26:49 +02:00
|
|
|
onclick="select_zephyr_by_id({{id}}); narrow_class();">{{display_recipient}}</span>
|
2012-09-18 16:45:25 +02:00
|
|
|
<br/>
|
|
|
|
<span class="zephyr_label_clickable zephyr_instance"
|
2012-09-19 19:26:49 +02:00
|
|
|
onclick="select_zephyr_by_id({{id}}); narrow_instance();">{{instance}}</span>
|
2012-09-18 16:45:25 +02:00
|
|
|
{{/is_class}}
|
2012-09-13 22:00:11 +02:00
|
|
|
{{/include_recipient}}
|
2012-09-18 16:45:25 +02:00
|
|
|
<br />
|
|
|
|
</td>
|
2012-09-19 19:26:49 +02:00
|
|
|
<td class="messagebox{{^include_sender}} collapsed_child{{/include_sender}}" onclick="select_zephyr_by_id({{id}}); respond_to_zephyr();">
|
2012-09-13 22:00:11 +02:00
|
|
|
{{#include_sender}}
|
2012-09-19 16:50:37 +02:00
|
|
|
<img class="profile_picture" src="https://secure.gravatar.com/avatar/{{gravatar_hash}}?d=identicon&s=30"/>
|
2012-09-20 19:28:53 +02:00
|
|
|
<span class="zephyr_label_clickable zephyr_sender" onmouseover="show_email({{id}});" onmouseout="hide_email();">
|
2012-09-18 16:45:25 +02:00
|
|
|
<span class="zephyr_sender_name">{{sender_name}}</span> <span class="zephyr_sender_email invisible">{{sender_email}}</span>
|
|
|
|
<span class="zephyr_sender_username">{{sender}}</span>
|
|
|
|
</span>
|
2012-09-13 22:00:11 +02:00
|
|
|
{{/include_sender}}
|
2012-09-18 16:45:25 +02:00
|
|
|
<span class="zephyr_time" title="{{full_date_str}}">{{timestr}}</span>
|
|
|
|
<div class="zephyr_content">{{{content}}}</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|