zulip/static/templates/recent_topic_row.hbs

37 lines
1.6 KiB
Handlebars

<tr id="recent_topic:{{stream_id}}:{{topic}}" {{#if hidden}}style="display:none;"{{/if}}>
<td class="recent_topic_unread_count">
{{#if unread_count}}
{{unread_count}}
{{else}}
<i class="fa fa-check-circle" title="{{t 'All messages read' }}" aria-hidden="true"></i>
{{/if}}
</td>
<td class="recent_topic_stream">
<a href="{{stream_url}}">{{stream}}</a>
</td>
<td class="recent_topic_name">
<a href="{{topic_url}}">{{topic}}</a>
</td>
<td class="recent_topic_actions">
<i class="fa fa-bell-slash on_hover_topic_mute recipient_bar_icon" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" title="{{t 'Mute topic' }}" role="button" tabindex="0" aria-label="{{t 'Mute topic' }}"></i>
<i class="fa fa-check-circle on_hover_topic_read recipient_bar_icon" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" title="{{t 'Mark as read' }}" role="button" tabindex="0" aria-label="{{t 'Mark as read' }}"></i>
</td>
<td class='recent_topic_users'>
<ul class="recent_avatars">
{{#if count_senders}}
<li class="recent_avatars_item">
<span class="recent_avatars_others">+{{count_senders}}</span>
</li>
{{/if}}
{{#each senders}}
<li class="recent_avatars_item" title="{{this.full_name}}">
<img src="{{this.avatar_url_small}}" class="recent_avatars_img" />
</li>
{{/each}}
</ul>
</td>
<td class="recent_topic_timestamp">
{{ last_msg_time }}
</td>
</tr>