templates: Remove unwanted div.

This commit is contained in:
vighneshbhat9945 2024-02-05 18:20:33 +05:30 committed by Tim Abbott
parent 4903870ec3
commit ab927cbb2a
1 changed files with 34 additions and 37 deletions

View File

@ -99,48 +99,45 @@
<h3 class="stream_setting_subsection_title inline-block">{{t "Personal settings" }}</h3> <h3 class="stream_setting_subsection_title inline-block">{{t "Personal settings" }}</h3>
<div id="stream_change_property_status{{sub.stream_id}}" class="stream_change_property_status alert-notification"></div> <div id="stream_change_property_status{{sub.stream_id}}" class="stream_change_property_status alert-notification"></div>
</div> </div>
<div class="subscription-config"> <div class="subsection-parent">
<div class="subsection-parent"> {{#each other_settings}}
{{#each other_settings}}
<div class="input-group">
{{> stream_settings_checkbox
setting_name=name
is_checked=is_checked
is_muted=(lookup ../sub "is_muted")
stream_id=(lookup ../sub "stream_id")
notification_setting=false
disabled_realm_setting=disabled_realm_setting
is_disabled=is_disabled
label=label}}
</div>
{{/each}}
<div class="input-group"> <div class="input-group">
<label for="streamcolor">{{t "Stream color" }}</label> {{> stream_settings_checkbox
<span class="sub_setting_control"> setting_name=name
<input stream_id="{{sub.stream_id}}" class="colorpicker" id="streamcolor" type="text" value="{{sub.color}}" tabindex="-1" /> is_checked=is_checked
</span> is_muted=(lookup ../sub "is_muted")
stream_id=(lookup ../sub "stream_id")
notification_setting=false
disabled_realm_setting=disabled_realm_setting
is_disabled=is_disabled
label=label}}
</div> </div>
{{/each}}
<div class="input-group">
<label for="streamcolor">{{t "Stream color" }}</label>
<span class="sub_setting_control">
<input stream_id="{{sub.stream_id}}" class="colorpicker" id="streamcolor" type="text" value="{{sub.color}}" tabindex="-1" />
</span>
</div> </div>
<h4 class="stream_setting_subsection_title">{{t "Notification settings" }}</h4> </div>
<p>{{t "In muted streams, stream notification settings apply only to unmuted topics." }}</p> <h4 class="stream_setting_subsection_title">{{t "Notification settings" }}</h4>
<div class="subsection-parent"> <p>{{t "In muted streams, stream notification settings apply only to unmuted topics." }}</p>
<div class="subsection-parent">
<div class="input-group">
<button class="button small rounded reset-stream-notifications-button" type="button">{{t "Reset to default notifications" }}</button>
</div>
{{#each notification_settings}}
<div class="input-group"> <div class="input-group">
<button class="button small rounded reset-stream-notifications-button" type="button">{{t "Reset to default notifications" }}</button> {{> stream_settings_checkbox
setting_name=name
is_checked=is_checked
stream_id=(lookup ../sub "stream_id")
notification_setting=true
disabled_realm_setting=disabled_realm_setting
is_disabled=is_disabled
label=label}}
</div> </div>
{{#each notification_settings}} {{/each}}
<div class="input-group">
{{> stream_settings_checkbox
setting_name=name
is_checked=is_checked
stream_id=(lookup ../sub "stream_id")
notification_setting=true
disabled_realm_setting=disabled_realm_setting
is_disabled=is_disabled
label=label}}
</div>
{{/each}}
</div>
</div> </div>
</div> </div>