Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

user_info_popover: Hide user local time for spectators.

Aman Agrawal73266350efa3
diff --git a/static/templates/user_info_popover_content.hbs b/static/templates/user_info_popover_content.hbs
index 8a75bc279cb..9acb6ddc3a5 100644
--- a/static/templates/user_info_popover_content.hbs
+++ b/static/templates/user_info_popover_content.hbs
@@ -29,7 +29,7 @@
{{#if user_time}}
- <li>{{ user_time }} {{#tr}}Local time{{/tr}}</li>
+ <li class="hidden-for-spectators">{{ user_time }} {{#tr}}Local time{{/tr}}</li>
{{/if}}
{{#if is_bot}}