bookend: Add stream icons to subscribed/unsubscribed divider line.

Fixes: #23685.
This commit is contained in:
Akarsh Jain
2022-11-29 22:09:59 +05:30
committed by Tim Abbott
parent 047bffe257
commit 3e6f34780a
5 changed files with 34 additions and 3 deletions

View File

@@ -9,11 +9,20 @@
{{#if deactivated}}
{{t "This stream has been deactivated" }}
{{else if subscribed }}
{{t "You subscribed to stream {stream_name}" }}
{{#tr}}
You subscribed to stream <z-stream-icon></z-stream-icon> {{stream_name}}
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}}
{{/tr}}
{{else if just_unsubscribed }}
{{t "You unsubscribed from stream {stream_name}" }}
{{#tr}}
You unsubscribed from stream <z-stream-icon></z-stream-icon> {{stream_name}}
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}}
{{/tr}}
{{else}}
{{t "You are not subscribed to stream {stream_name}" }}
{{#tr}}
You are not subscribed to stream <z-stream-icon></z-stream-icon> {{stream_name}}
{{#*inline "z-stream-icon"}}{{> stream_privacy }}{{/inline}}
{{/tr}}
{{/if}}
</span>
{{/if}}