2020-07-05 12:20:53 +02:00
|
|
|
<tr id="recent_topic:{{topic_key}}" {{#if unread_count}}class="unread_topic"{{/if}} data-unread-count="{{unread_count}}" data-muted="{{muted}}" data-participated="{{participated}}">
|
2020-05-22 08:16:08 +02:00
|
|
|
<td class="recent_topic_stream">
|
2020-06-24 15:44:12 +02:00
|
|
|
<div class="recent_topics_focusable">
|
2020-11-04 05:18:46 +01:00
|
|
|
<span id="stream_sidebar_privacy_swatch_{{stream_id}}" class="stream-privacy filter-icon" style="color: {{stream_color}}">
|
|
|
|
{{> stream_privacy }}
|
|
|
|
</span>
|
2020-06-24 15:44:12 +02:00
|
|
|
<a href="{{stream_url}}">{{stream}}</a>
|
|
|
|
</div>
|
2020-05-22 08:16:08 +02:00
|
|
|
</td>
|
|
|
|
<td class="recent_topic_name">
|
2020-07-05 12:28:33 +02:00
|
|
|
<div class="flex_container">
|
2021-02-19 06:57:04 +01:00
|
|
|
<div class="left_part recent_topics_focusable">
|
|
|
|
<a href="{{topic_url}}">{{topic}}</a>
|
2020-07-05 12:28:33 +02:00
|
|
|
</div>
|
|
|
|
<div class="right_part">
|
2021-04-09 20:57:13 +02:00
|
|
|
{{#if unread_count}}<span class="unread_count">{{unread_count}}</span>{{/if}}
|
2020-07-05 12:28:33 +02:00
|
|
|
<div class="recent_topic_actions">
|
|
|
|
<div class="recent_topics_focusable">
|
|
|
|
{{#if topic_muted}}
|
2021-05-13 20:04:56 +02:00
|
|
|
<i class="fa fa-bell-slash on_hover_topic_unmute recipient_bar_icon tippy-zulip-tooltip" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Unmute topic' }}" data-tippy-placement="top" role="button" tabindex="0" aria-label="{{t 'Unmute topic' }}"></i>
|
2020-07-05 12:28:33 +02:00
|
|
|
{{else}}
|
2021-05-13 20:04:56 +02:00
|
|
|
<i class="fa fa-bell-slash on_hover_topic_mute recipient_bar_icon tippy-zulip-tooltip" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Mute topic' }}" data-tippy-placement="top" role="button" tabindex="0" aria-label="{{t 'Mute topic' }}"></i>
|
2020-07-05 12:28:33 +02:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="recent_topics_focusable">
|
2021-05-13 20:04:56 +02:00
|
|
|
<i class="fa fa-check-circle on_hover_topic_read recipient_bar_icon tippy-zulip-tooltip" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Mark as read' }}" data-tippy-placement="top" role="button" tabindex="0" aria-label="{{t 'Mark as read' }}"></i>
|
2020-07-05 12:28:33 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-24 15:44:12 +02:00
|
|
|
</div>
|
2020-05-22 08:16:08 +02:00
|
|
|
</td>
|
|
|
|
<td class='recent_topic_users'>
|
2021-05-12 16:31:52 +02:00
|
|
|
<ul class="recent_topics_participants">
|
2020-06-12 12:07:48 +02:00
|
|
|
{{#if other_senders_count}}
|
2021-05-12 16:31:52 +02:00
|
|
|
<li class="recent_topics_participant_item">
|
|
|
|
<span class="recent_topics_participant_overflow">+{{other_senders_count}}</span>
|
2020-05-22 21:04:03 +02:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#each senders}}
|
2021-05-12 08:13:26 +02:00
|
|
|
{{#if this.is_muted}}
|
2021-05-13 20:04:56 +02:00
|
|
|
<li class="recent_topics_participant_item tippy-zulip-tooltip" data-tippy-content="{{t 'Muted user'}}" data-tippy-placement="top">
|
2021-05-12 16:31:52 +02:00
|
|
|
<span><i class="fa fa-user recent_topics_participant_overflow"></i></span>
|
2021-05-12 08:13:26 +02:00
|
|
|
</li>
|
|
|
|
{{else}}
|
2021-05-13 20:04:56 +02:00
|
|
|
<li class="recent_topics_participant_item tippy-zulip-tooltip" data-tippy-content="{{this.full_name}}" data-tippy-placement="top">
|
2021-05-12 16:31:52 +02:00
|
|
|
<img src="{{this.avatar_url_small}}" class="recent_topics_participant_avatar" />
|
2021-05-12 08:13:26 +02:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2020-05-22 21:04:03 +02:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2020-05-22 08:16:08 +02:00
|
|
|
</td>
|
2020-07-05 12:28:33 +02:00
|
|
|
<td class="recent_topic_timestamp">
|
2021-05-13 23:12:46 +02:00
|
|
|
<div class="last_msg_time tippy-zulip-tooltip" data-tippy-content="{{this.full_last_msg_date_time}}" data-tippy-placement="top">
|
2020-07-05 12:28:33 +02:00
|
|
|
{{ last_msg_time }}
|
|
|
|
</div>
|
2020-05-22 08:16:08 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|