zulip/static/templates/user_stream_list_item.hbs

18 lines
690 B
Handlebars
Raw Normal View History

<tr data-stream-id="{{stream_id}}">
<td class="subscription_list_stream">
<span id="stream_sidebar_privacy_swatch_{{stream_id}}" class="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">
{{t 'Unsubscribe' }}
</button>
</div>
</td>
{{/if}}
</tr>