mirror of https://github.com/zulip/zulip.git
templates: Improve comments for recipient_row.hbs.
We also squash some whitespace in the HTML, although it's mostly irrelevant since you can't copy/paste the text.
This commit is contained in:
parent
cbcfbf83ae
commit
44f935695d
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue