mirror of https://github.com/zulip/zulip.git
Clean up zephyr template slightly.
(imported from commit 999e6261785a0714bf72a8fe8f2c05c20cf59db9)
This commit is contained in:
parent
cd3e66192b
commit
1cb8947e86
|
@ -6,30 +6,41 @@
|
|||
{{/include_bookend}}
|
||||
|
||||
{{#include_recipient}}
|
||||
{{^is_class}}
|
||||
{{#if is_class}}
|
||||
<tr>
|
||||
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">Huddle</td>
|
||||
<td class="zephyr_label_clickable zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">{{display_reply_to}}</td>
|
||||
<td colspan="2"
|
||||
class="zephyr_label_clickable zephyr_newstyle_class"
|
||||
onclick="select_zephyr_by_id({{id}}); narrow_class();">{{display_recipient}}</td>
|
||||
<td class="zephyr_label_clickable zephyr_newstyle_instance"
|
||||
onclick="select_zephyr_by_id({{id}}); narrow_instance();">{{instance}}</td>
|
||||
</tr>
|
||||
{{/is_class}}
|
||||
{{#is_class}}
|
||||
{{else}}
|
||||
<tr>
|
||||
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class" onclick="select_zephyr_by_id({{id}}); narrow_class();">{{display_recipient}}</td>
|
||||
<td class="zephyr_label_clickable zephyr_newstyle_instance" onclick="select_zephyr_by_id({{id}}); narrow_instance();">{{instance}}</td>
|
||||
<td colspan="2" class="zephyr_label_clickable zephyr_newstyle_class"
|
||||
onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">Huddle</td>
|
||||
<td class="zephyr_label_clickable zephyr_newstyle_instance"
|
||||
onclick="select_zephyr_by_id({{id}}); narrow_by_recipient();">{{display_reply_to}}</td>
|
||||
</tr>
|
||||
{{/is_class}}
|
||||
{{/if}}
|
||||
{{/include_recipient}}
|
||||
<tr zid="{{id}}" id="{{dom_id}}" class="zephyr_row" onclick="select_zephyr_by_id({{id}});">
|
||||
<tr zid="{{id}}" id="{{dom_id}}"
|
||||
class="zephyr_row"
|
||||
onclick="select_zephyr_by_id({{id}});">
|
||||
<td class="zephyr_picture">
|
||||
{{#include_sender}}
|
||||
<img class="img-rounded profile_picture" src="https://secure.gravatar.com/avatar/{{gravatar_hash}}?d=identicon&s=30"/>
|
||||
<img class="img-rounded profile_picture"
|
||||
src="https://secure.gravatar.com/avatar/{{gravatar_hash}}?d=identicon&s=30"/>
|
||||
{{/include_sender}}
|
||||
</td>
|
||||
<td class="pointer"><p></p></td>
|
||||
<td class="messagebox{{^include_sender}} prev_is_same_sender{{/include_sender}}" onclick="select_zephyr_by_id({{id}}); respond_to_zephyr();">
|
||||
{{#include_sender}}
|
||||
<span class="zephyr_label_clickable zephyr_sender" onmouseover="show_email({{id}});" onmouseout="hide_email();">
|
||||
<span class="zephyr_sender_name">{{sender_name}}</span> <span class="zephyr_sender_email invisible">{{sender_email}}</span>
|
||||
<td class="messagebox{{^include_sender}} prev_is_same_sender{{/include_sender}}"
|
||||
onclick="select_zephyr_by_id({{id}}); respond_to_zephyr();">
|
||||
{{#include_sender}}
|
||||
<span class="zephyr_label_clickable zephyr_sender"
|
||||
onmouseover="show_email({{id}});"
|
||||
onmouseout="hide_email();">
|
||||
<span class="zephyr_sender_name">{{sender_name}}</span>
|
||||
<span class="zephyr_sender_email invisible">{{sender_email}}</span>
|
||||
</span>
|
||||
{{/include_sender}}
|
||||
<span class="zephyr_time" title="{{full_date_str}}">{{timestr}}</span>
|
||||
|
|
Loading…
Reference in New Issue