2012-09-04 18:20:07 +02:00
|
|
|
{{! Client-side Mustache template for rendering zephyrs.}}
|
2012-09-24 23:26:32 +02:00
|
|
|
{{#each zephyrs}}
|
|
|
|
{{#with this}}
|
2012-09-24 22:36:09 +02:00
|
|
|
{{#include_bookend}}
|
|
|
|
<tr><td /><td /><td class="bookend" /></tr>
|
|
|
|
{{/include_bookend}}
|
|
|
|
|
2012-09-20 21:33:45 +02:00
|
|
|
{{#include_recipient}}
|
|
|
|
{{^is_class}}
|
|
|
|
<tr>
|
2012-09-26 20:27:38 +02:00
|
|
|
<td colspan="2" class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">Huddle</td>
|
2012-09-26 21:25:49 +02:00
|
|
|
<td class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">{{display_reply_to}}</td>
|
2012-09-26 20:27:38 +02:00
|
|
|
</tr>
|
|
|
|
{{/is_class}}
|
|
|
|
{{#is_class}}
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_class();">{{display_recipient}}</td>
|
|
|
|
<td class="zephyr_label_clickable zephyr_recipient zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_instance();">{{instance}}</td>
|
2012-09-20 21:33:45 +02:00
|
|
|
</tr>
|
|
|
|
{{/is_class}}
|
|
|
|
{{/include_recipient}}
|
2012-09-20 20:33:57 +02:00
|
|
|
<tr zid="{{id}}" id="{{dom_id}}" class="zephyr_row" onmouseover="select_zephyr_by_id({{id}});">
|
2012-09-26 22:19:01 +02:00
|
|
|
<td class="zephyr_recipient">
|
2012-09-26 20:27:38 +02:00
|
|
|
{{#include_sender}}
|
|
|
|
<img class="profile_picture" src="https://secure.gravatar.com/avatar/{{gravatar_hash}}?d=identicon&s=30"/>
|
|
|
|
{{/include_sender}}
|
2012-09-18 16:45:25 +02:00
|
|
|
</td>
|
2012-09-26 20:27:38 +02:00
|
|
|
<td class="pointer"><p></p></td>
|
2012-09-24 22:27:12 +02:00
|
|
|
<td class="messagebox{{^include_sender}} prev_is_same_sender{{/include_sender}}" onclick="select_zephyr_by_id({{id}}); respond_to_zephyr();">
|
2012-09-13 22:00:11 +02:00
|
|
|
{{#include_sender}}
|
2012-09-20 19:43:20 +02:00
|
|
|
<span class="zephyr_label_clickable zephyr_sender" onmouseover="select_zephyr_by_id({{id}}); show_email();" 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>
|
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>
|
2012-09-24 23:26:32 +02:00
|
|
|
{{/with}}
|
|
|
|
{{/each}}
|