2023-03-23 19:27:13 +01:00
|
|
|
<tr id="recent_conversation:{{conversation_key}}" class="{{#if unread_count}}unread_topic{{/if}} {{#if is_private}}private_conversation_row{{/if}}">
|
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">
|
2023-09-06 23:43:47 +02:00
|
|
|
<div class="left_part recent_view_focusable">
|
2022-04-24 06:13:19 +02:00
|
|
|
{{#if is_private}}
|
|
|
|
<span class="fa fa-envelope"></span>
|
2023-09-06 11:44:37 +02:00
|
|
|
<a href="{{pm_url}}">{{t "Direct messages" }}</a>
|
2022-04-24 06:13:19 +02:00
|
|
|
{{else}}
|
2023-04-07 23:07:35 +02:00
|
|
|
<span class="stream-privacy-original-color-{{stream_id}} stream-privacy filter-icon" style="color: {{stream_color}}">
|
2022-04-24 06:13:19 +02:00
|
|
|
{{> stream_privacy }}
|
|
|
|
</span>
|
2023-07-26 22:07:21 +02:00
|
|
|
<a href="{{topic_url}}">{{stream_name}}</a>
|
2022-04-24 06:13:19 +02:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{!-- For presence/group indicator --}}
|
|
|
|
{{#if is_private}}
|
|
|
|
<div class="right_part">
|
2022-10-20 13:49:03 +02:00
|
|
|
<span class="pm_status_icon {{#unless is_group}}show-tooltip{{/unless}}" data-tippy-placement="top" data-user-ids-string="{{user_ids_string}}">
|
2022-04-24 06:13:19 +02:00
|
|
|
{{#if is_group}}
|
2024-02-25 16:22:29 +01:00
|
|
|
<span class="zulip-icon zulip-icon-triple-users"></span>
|
2023-04-18 00:36:34 +02:00
|
|
|
{{else if is_bot}}
|
|
|
|
<span class="zulip-icon zulip-icon-bot" aria-hidden="true"></span>
|
2022-04-24 06:13:19 +02:00
|
|
|
{{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>
|
2023-11-30 03:07:35 +01:00
|
|
|
<td class="recent_topic_name"{{#if (not is_spectator) }} colspan="2"{{/if}}>
|
2020-07-05 12:28:33 +02:00
|
|
|
<div class="flex_container">
|
2023-09-06 23:43:47 +02:00
|
|
|
<div class="left_part recent_view_focusable line_clamp">
|
2022-04-24 06:13:19 +02:00
|
|
|
{{#if is_private}}
|
2022-10-20 13:51:35 +02:00
|
|
|
<a href="{{pm_url}}">{{{rendered_pm_with}}}</a>
|
2022-04-24 06:13:19 +02:00
|
|
|
{{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}}
|
2022-10-21 12:00:06 +02:00
|
|
|
<div class="recent_topic_actions">
|
2023-09-06 23:43:47 +02:00
|
|
|
<div class="recent_view_focusable">
|
2022-10-21 12:00:06 +02:00
|
|
|
<span class="unread_count unread_count_pm {{#unless unread_count}}unread_hidden{{/unless}} tippy-zulip-tooltip on_hover_topic_read" data-user-ids-string="{{user_ids_string}}" data-tippy-content="{{t 'Mark as read' }}" role="button" tabindex="0" aria-label="{{t 'Mark as read' }}">{{unread_count}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-10-30 07:39:29 +01:00
|
|
|
<div class="recent_topic_actions dummy_action_button">
|
2023-09-06 23:43:47 +02:00
|
|
|
<div class="recent_view_focusable">
|
2022-10-30 07:39:29 +01:00
|
|
|
{{!-- Invisible icon, used only for alignment of unread count. --}}
|
|
|
|
<i class="zulip-icon zulip-icon-mute on_hover_topic_unmute recipient_bar_icon"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-04-24 06:13:19 +02:00
|
|
|
{{else}}
|
2023-08-23 21:12:40 +02:00
|
|
|
<span class="unread_mention_info tippy-zulip-tooltip {{#unless mention_in_unread}}unread_hidden{{/unless}}"
|
|
|
|
data-tippy-content="{{t 'You have mentions'}}">@</span>
|
2022-07-22 16:32:51 +02:00
|
|
|
<div class="recent_topic_actions">
|
2023-09-06 23:43:47 +02:00
|
|
|
<div class="recent_view_focusable hidden-for-spectators">
|
2022-07-22 16:32:51 +02:00
|
|
|
<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">
|
2023-10-27 08:23:51 +02:00
|
|
|
<div class="hidden-for-spectators">
|
|
|
|
<span class="recent_view_focusable change_visibility_policy hidden-for-spectators" data-stream-id="{{stream_id}}" data-topic-name="{{topic}}">
|
2023-08-21 08:10:03 +02:00
|
|
|
{{#if (eq visibility_policy all_visibility_policies.FOLLOWED)}}
|
|
|
|
<i class="zulip-icon zulip-icon-follow recipient_bar_icon" data-tippy-content="{{t 'You follow this topic'}}"
|
|
|
|
role="button" tabindex="0" aria-haspopup="true" aria-label="{{t 'You follow this topic' }}"></i>
|
|
|
|
{{else if (eq visibility_policy all_visibility_policies.UNMUTED)}}
|
|
|
|
<i class="zulip-icon zulip-icon-unmute-new recipient_bar_icon" data-tippy-content="{{t 'You have unmuted this topic'}}"
|
|
|
|
role="button" tabindex="0" aria-haspopup="true" aria-label="{{t 'You have unmuted this topic' }}"></i>
|
|
|
|
{{else if (eq visibility_policy all_visibility_policies.MUTED)}}
|
|
|
|
<i class="zulip-icon zulip-icon-mute-new recipient_bar_icon" data-tippy-content="{{t 'You have muted this topic'}}"
|
|
|
|
role="button" tabindex="0" aria-haspopup="true" aria-label="{{t 'You have muted this topic' }}"></i>
|
2023-07-27 14:57:55 +02:00
|
|
|
{{else}}
|
2023-08-21 08:10:03 +02:00
|
|
|
<i class="zulip-icon zulip-icon-inherit recipient_bar_icon" data-tippy-content="{{t 'You will get default notifications for this topic'}}"
|
|
|
|
role="button" tabindex="0" aria-haspopup="true" aria-label="{{t 'You will get default notifications for this topic' }}"></i>
|
2023-07-27 14:57:55 +02:00
|
|
|
{{/if}}
|
2023-08-21 08:10:03 +02:00
|
|
|
</span>
|
2020-07-05 12:28:33 +02:00
|
|
|
</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'>
|
2023-09-06 23:45:27 +02:00
|
|
|
<ul class="recent_view_participants">
|
2020-06-12 12:07:48 +02:00
|
|
|
{{#if other_senders_count}}
|
2023-09-06 23:44:39 +02:00
|
|
|
<li class="recent_view_participant_item tippy-zulip-tooltip" data-tooltip-template-id="recent_view_participant_overflow_tooltip:{{conversation_key}}">
|
2023-09-06 23:43:03 +02:00
|
|
|
<span class="recent_view_participant_overflow">+{{other_senders_count}}</span>
|
2020-05-22 21:04:03 +02:00
|
|
|
</li>
|
2023-09-06 23:43:03 +02:00
|
|
|
<template id="recent_view_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}}
|
2023-09-06 23:44:39 +02:00
|
|
|
<li class="recent_view_participant_item participant_profile tippy-zulip-tooltip" data-tippy-content="{{t 'Muted user'}}" data-user-id="{{this.user_id}}">
|
2023-09-06 23:43:03 +02:00
|
|
|
<span><i class="fa fa-user recent_view_participant_overflow"></i></span>
|
2021-05-12 08:13:26 +02:00
|
|
|
</li>
|
|
|
|
{{else}}
|
2023-09-06 23:44:39 +02:00
|
|
|
<li class="recent_view_participant_item participant_profile tippy-zulip-tooltip" data-tippy-content="{{this.full_name}}" data-user-id="{{this.user_id}}">
|
2023-09-06 23:47:40 +02:00
|
|
|
<img src="{{this.avatar_url_small}}" class="recent_view_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}}">
|
2024-06-20 12:35:27 +02:00
|
|
|
<a href="{{last_msg_url}}" tabindex="-1">{{ last_msg_time }}</a>
|
2020-07-05 12:28:33 +02:00
|
|
|
</div>
|
2020-05-22 08:16:08 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|