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.

templates: Improve comments for recipient_row.hbs.

Steve Howell44f935695d45
diff --git a/static/templates/recipient_row.hbs b/static/templates/recipient_row.hbs
index b682a5be26d..e2693346727 100644
--- a/static/templates/recipient_row.hbs
+++ b/static/templates/recipient_row.hbs
@@ -7,14 +7,17 @@
style="background: {{background_color}}; border-left-color: {{background_color}};"
href="{{stream_url}}"
title="{{#tr}}Narrow to stream "{display_recipient}"{{/tr}}">
- {{! invite only lock }}
- {{#if invite_only}}
+ {{~! Icons for invite-only/web-public streams ~}}
+ {{~#if invite_only ~}}
<i class="fa fa-lock recipient-row-stream-icon" title="{{t 'This is a private stream' }}" aria-label="{{t 'This is a private stream' }}"></i>
{{/if}}
- {{#if is_web_public}}
+
+ {{~#if is_web_public ~}}
<i class="fa fa-globe recipient-row-stream-icon" title="{{t 'This is a web public stream' }}" aria-label="{{t 'This is a web public stream' }}"></i>
{{/if}}
- {{display_recipient}}
+
+ {{~! Recipient (e.g. stream/topic or topic) ~}}
+ {{~{display_recipient}~}}
</a>
{{! hidden narrow icon for copy-pasting }}