zulip/web/templates/user_stream_list_item.hbs

18 lines
824 B
Handlebars
Raw Normal View History

<tr data-stream-id="{{stream_id}}">
<td class="subscription_list_stream">
<span class="stream-privacy-{{stream_id}} stream-privacy filter-icon" style="color: {{stream_color}}">
{{> stream_privacy }}
</span>
<a class = "stream_list_item" href="{{stream_edit_url}}">{{name}}</a>
</td>
{{#if show_unsubscribe_button}}
<td class="remove_subscription">
<div class="subscription_list_remove">
<button type="button" name="unsubscribe" class="remove-subscription-button button small rounded btn-danger {{#if show_private_stream_unsub_tooltip}}tippy-zulip-tooltip{{/if}}" data-tippy-content='{{t "Use stream settings to unsubscribe from private streams."}}'>
{{t 'Unsubscribe' }}
</button>
</div>
</td>
{{/if}}
</tr>