Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_headers: Abbrevate direct message recipient names.
Hardik Dharmani697cdb31e55d
diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex 90211d456f7..b06eb9394a6 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -1416,6 +1416,11 @@ td.pointer {width: 16px;height: 16px;}++ .private_message_header_name {+ overflow: hidden;+ text-overflow: ellipsis;+ }}}diff --git a/web/templates/draft.hbs b/web/templates/draft.hbsindex 0c5d555864f..54977a55bfe 100644--- a/web/templates/draft.hbs+++ b/web/templates/draft.hbs@@ -24,7 +24,7 @@<div class="message-header-contents"><div class="message_label_clickable stream_label"><span class="private_message_header_icon"><i class="zulip-icon zulip-icon-user"></i></span>- {{t "You and {recipients}" }}+ <span class="private_message_header_name">{{t "You and {recipients}" }}</span></div><div class="recipient_row_date" title="{{t 'Last modified'}}">{{ time_stamp }}</div></div>diff --git a/web/templates/recipient_row.hbs b/web/templates/recipient_row.hbsindex 2528c516c59..26263a6bd37 100644--- a/web/templates/recipient_row.hbs+++ b/web/templates/recipient_row.hbs@@ -76,7 +76,7 @@href="{{pm_with_url}}"data-tippy-content="{{t 'Go to direct messages with {display_reply_to}' }}"><span class="private_message_header_icon"><i class="zulip-icon zulip-icon-user"></i></span>- {{t "You and {display_reply_to}" }}+ <span class="private_message_header_name">{{t "You and {display_reply_to}" }}</span></a><span class="recipient_row_date {{#if date_unchanged}}recipient_row_date_unchanged{{/if}}">{{{date}}}</span></div>diff --git a/web/templates/scheduled_message.hbs b/web/templates/scheduled_message.hbsindex 4c7dd4b1574..b1ecbc99e4b 100644--- a/web/templates/scheduled_message.hbs+++ b/web/templates/scheduled_message.hbs@@ -25,7 +25,7 @@<div class="message-header-contents"><div class="message_label_clickable stream_label"><span class="private_message_header_icon"><i class="zulip-icon zulip-icon-user"></i></span>- {{t "You and {recipients}" }}+ <span class="private_message_header_name">{{t "You and {recipients}" }}</span></div><div class="recipient_row_date">{{ formatted_send_at_time }}</div></div>