2022-04-24 06:13:19 +02:00
|
|
|
<tr id="recent_conversation:{{conversation_key}}" {{#if unread_count}}class="unread_topic"{{/if}} data-unread-count="{{unread_count}}" data-muted="{{muted}}" data-participated="{{participated}}" data-private="{{is_private}}">
|
2020-05-22 08:16:08 +02:00
|
|
|
<td class="recent_topic_stream">
|
2022-04-24 06:13:19 +02:00
|
|
|
<div class="flex_container flex_container_pm">
|
|
|
|
<div class="left_part recent_topics_focusable">
|
|
|
|
{{#if is_private}}
|
|
|
|
<span class="fa fa-envelope"></span>
|
|
|
|
<a href="{{pm_url}}">Private messages</a>
|
|
|
|
{{else}}
|
|
|
|
<span id="stream_sidebar_privacy_swatch_{{stream_id}}" class="stream-privacy filter-icon" style="color: {{stream_color}}">
|
|
|
|
{{> stream_privacy }}
|
|
|
|
</span>
|
|
|
|
<a href="{{topic_url}}">{{stream}}</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{!-- For presence/group indicator --}}
|
|
|
|
{{#if is_private}}
|
|
|
|
<div class="right_part">
|
|
|
|
<span class="stream-privacy filter-icon">
|
|
|
|
{{#if is_group}}
|
|
|
|
<span class="fa fa-group"></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="{{user_circle_class}} user_circle"></span>
|
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2020-06-24 15:44:12 +02:00
|
|
|
</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">
|
2022-04-24 06:13:19 +02:00
|
|
|
<div class="left_part recent_topics_focusable line_clamp">
|
|
|
|
{{#if is_private}}
|
|
|
|
<a href="{{pm_url}}">{{pm_with}}</a>
|
|
|
|
{{else}}
|
2021-02-19 06:57:04 +01:00
|
|
|
<a href="{{topic_url}}">{{topic}}</a>
|
2022-04-24 06:13:19 +02:00
|
|
|
{{/if}}
|
2020-07-05 12:28:33 +02:00
|
|
|
</div>
|
|
|
|
<div class="right_part">
|
2022-04-24 06:13:19 +02:00
|
|
|
{{#if is_private}}
|
|
|
|
<span class="unread_count unread_count_pm {{#unless unread_count}}unread_hidden{{/unless}}">{{unread_count}}</span>
|
|
|
|
{{else}}
|
2022-10-14 17:37:47 +02:00
|
|
|
<span class="unread_mention_info {{#unless mention_in_unread}}unread_hidden{{/unless}}">@</span>
|
2022-07-22 16:32:51 +02:00
|
|
|
<div class="recent_topic_actions">
|
|
|
|
<div class="recent_topics_focusable hidden-for-spectators">
|
|
|
|
<span class="unread_count {{#unless unread_count}}unread_hidden{{/unless}} tippy-zulip-tooltip on_hover_topic_read" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}" data-tippy-content="{{t 'Mark as read' }}" role="button" tabindex="0" aria-label="{{t 'Mark as read' }}">{{unread_count}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-07-05 12:28:33 +02:00
|
|
|
<div class="recent_topic_actions">
|
2022-02-10 11:08:53 +01:00
|
|
|
<div class="recent_topics_focusable hidden-for-spectators">
|
2020-07-05 12:28:33 +02:00
|
|
|
{{#if topic_muted}}
|
2022-04-21 17:31:34 +02:00
|
|
|
<i class="zulip-icon zulip-icon-mute 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' }}" role="button" tabindex="0" aria-label="{{t 'Unmute topic' }}"></i>
|
2020-07-05 12:28:33 +02:00
|
|
|
{{else}}
|
2022-04-21 17:31:34 +02:00
|
|
|
<i class="zulip-icon zulip-icon-mute 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' }}" role="button" tabindex="0" aria-label="{{t 'Mute topic' }}"></i>
|
2020-07-05 12:28:33 +02:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-24 06:13:19 +02:00
|
|
|
{{/if}}
|
2020-07-05 12:28:33 +02:00
|
|
|
</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}}
|
2022-04-24 06:13:19 +02:00
|
|
|
<li class="recent_topics_participant_item tippy-zulip-tooltip" data-tooltip-template-id="recent_topics_participant_overflow_tooltip:{{conversation_key}}">
|
2021-05-12 16:31:52 +02:00
|
|
|
<span class="recent_topics_participant_overflow">+{{other_senders_count}}</span>
|
2020-05-22 21:04:03 +02:00
|
|
|
</li>
|
2022-04-24 06:13:19 +02:00
|
|
|
<template id="recent_topics_participant_overflow_tooltip:{{conversation_key}}">{{{other_sender_names_html}}}</template>
|
2020-05-22 21:04:03 +02:00
|
|
|
{{/if}}
|
|
|
|
{{#each senders}}
|
2021-05-12 08:13:26 +02:00
|
|
|
{{#if this.is_muted}}
|
2022-02-17 15:42:40 +01:00
|
|
|
<li class="recent_topics_participant_item participant_profile tippy-zulip-tooltip" data-tippy-content="{{t 'Muted user'}}" data-user-id="{{this.user_id}}">
|
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}}
|
2022-02-17 15:42:40 +01:00
|
|
|
<li class="recent_topics_participant_item participant_profile tippy-zulip-tooltip" data-tippy-content="{{this.full_name}}" data-user-id="{{this.user_id}}">
|
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-07-07 06:49:36 +02:00
|
|
|
<div class="last_msg_time tippy-zulip-tooltip" data-tippy-content="{{this.full_last_msg_date_time}}">
|
2022-04-01 20:46:02 +02:00
|
|
|
<a href="{{last_msg_url}}">{{ last_msg_time }}</a>
|
2020-07-05 12:28:33 +02:00
|
|
|
</div>
|
2020-05-22 08:16:08 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|