{{#unless (eq render_only false)}}
<div class="input-group {{#if is_nested}}disableable{{/if}} {{#if show_push_notifications_tooltip}}control-label-disabled{{/if}}">
    <label class="checkbox">
        <input type="checkbox" class="inline-block setting-widget prop-element" name="{{setting_name}}" data-setting-widget-type="bool"
          id="{{prefix}}{{setting_name}}"
          {{#if show_push_notifications_tooltip}}disabled="disabled"{{/if}}
          {{#if is_checked}}
          {{#unless show_push_notifications_tooltip}}
          checked="checked"
          {{/unless}}
          {{/if}} />
        <span></span>
    </label>
    <label for="{{prefix}}{{setting_name}}" class="inline-block" id="{{prefix}}{{setting_name}}_label">
        {{{label}}}
    </label>
    {{#if show_push_notifications_tooltip}}
    <i class="fa fa-question-circle settings-info-icon" data-toggle="tooltip"
      title="{{t 'Mobile push notifications are not configured on this server.' }}"></i>
    {{/if}}
</div>
{{/unless}}

{{#unless (eq render_only false)}}
<div class="input-group {{#if is_nested}}disableable{{/if}} {{#if show_push_notifications_tooltip}}control-label-disabled{{/if}}">
    <label class="checkbox">
        <input type="checkbox" class="inline-block setting-widget prop-element" name="{{setting_name}}" data-setting-widget-type="bool"
          id="{{prefix}}{{setting_name}}"
          {{#if show_push_notifications_tooltip}}disabled="disabled"{{/if}}
          {{#if is_checked}}
          checked="checked"
          {{/if}} />
        <span></span>
    </label>
    <label for="{{prefix}}{{setting_name}}" class="inline-block" id="{{prefix}}{{setting_name}}_label">
        {{{label}}}
    </label>
    {{#if show_push_notifications_tooltip}}
    <i class="fa fa-question-circle settings-info-icon" data-toggle="tooltip"
      title="{{t 'Mobile push notifications are not configured on this server.' }}"></i>
    {{/if}}
</div>
{{/unless}}

Fix toggling push notification checkbox when disabled.
settings: Fix toggling push notification checkbox when disabled.

We know that by default the value of `enable_stream_push_notifications` is
true, so on some server if push notifications are disabled then due to
```
{{#unless show_push_notifications_tooltip}}
```
the `enable_stream_push_notifications` checkbox is rendered as unchecked
and when we update any other setting in the "Stream notifications" section,
due to `settings_notifications.update_page()` all checkboxes are changed to
current values which means above checkbox get checked.

We can deal with this bug either making changes in
`settings_notifications.update_page()` but we should show check/uncheck
state of checkboxes anyway so removing this `unless` condition fixes this
bug.
