mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
This was causing issues with our ability to unsubscribe from streams with " in their names. The solution here is a bit hacky, since it depends on the JavaScript being fairly aware of the layout of the DOM, which is not great. But it works. This fixes Trac #328. (imported from commit a1b6c8e1f3a9daacdc48920a195717aa89b3a9a9)
16 lines
452 B
HTML
16 lines
452 B
HTML
{{! Client-side Mustache template for rendering subscriptions.}}
|
|
{{#each subscriptions}}
|
|
{{#with this}}
|
|
<tr>
|
|
<td>
|
|
<input class="colorpicker" type="text" value="{{color}}" />
|
|
<span class="subscription_name">{{subscription}}</span>
|
|
</td>
|
|
<td class="span2">
|
|
<button class="btn btn-block" type="button" name="subscription"
|
|
onclick="subs.unsubscribe_button_click(event);">Unsubscribe</button>
|
|
</td>
|
|
</tr>
|
|
{{/with}}
|
|
{{/each}}
|