Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
templates: Fix reference to nonexistent oneself variable.
Anders Kaseorgb7093a93dc40
diff --git a/static/templates/subscription_settings.hbs b/static/templates/subscription_settings.hbsindex 68ad969abe9..ca5c97839f9 100644--- a/static/templates/subscription_settings.hbs+++ b/static/templates/subscription_settings.hbs@@ -20,7 +20,7 @@{{/if}}<div class="sub_unsub_button_wrapper inline-block"><button class="button small rounded subscribe-button sub_unsub_button {{#unless subscribed }}unsubscribed{{/unless}}" type="button" name="button" {{#if should_display_subscription_button}}title="{{t 'Toggle subscription'}} (S)" {{else}}disabled="disabled"{{/if}}>- {{#if subscribed }}{{#tr oneself }}Unsubscribe{{/tr}}{{else}}{{#tr oneself }}Subscribe{{/tr}}{{/if}}</button>+ {{#if subscribed }}{{t "Unsubscribe"}}{{else}}{{t "Subscribe"}}{{/if}}</button></div><a href="{{preview_url}}" class="button small rounded" id="preview-stream-button" role="button" title="{{t 'View stream'}} (V)" {{#unless should_display_preview_button }}style="display: none"{{/unless}}><i class="fa fa-eye"></i>