mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
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.
16 lines
458 B
Handlebars
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}}
|