zulip/static/templates/admin_default_streams_list.hbs
Steve Howell 697b00dd6e default streams: Change remove api to use stream_id.
This is a full-stack change:

    - server
    - JS code
    - templates

It's all pretty simple--just use stream_id instead
of stream_name.

I am 99% sure we don't document this API nor use it
in mobile, so it should be a safe change.
2020-03-25 17:11:25 -07:00

16 lines
458 B
Handlebars

{{#with stream}}
<tr class="default_stream_row" data-stream-id="{{stream_id}}">
<td>
{{#if invite_only}}<i class="fa fa-lock" aria-hidden="true"></i>{{/if}}
<span class="default_stream_name">{{name}}</span>
</td>
{{#if ../can_modify}}
<td class="actions">
<button class="button rounded remove-default-stream btn-danger">
{{t "Remove from default" }}
</button>
</td>
{{/if}}
</tr>
{{/with}}