settings: Create user_notification_settings.hbs template.

This commit creates a new template user_notification_settings.hbs
for user notification settings and notification_settings.hbs will
be used as a common template for user-level and realm-level
settings.
This commit is contained in:
Sahil Batra 2021-08-20 13:02:38 +05:30 committed by Tim Abbott
parent 032d347b4f
commit 32a43985d7
3 changed files with 109 additions and 108 deletions

View File

@ -1,5 +1,4 @@
<div id="user-notification-settings" class="settings-section" data-name="notifications"> <form class="notification-settings-form">
<form class="notification-settings-form">
<div class="general_notifications subsection-parent"> <div class="general_notifications subsection-parent">
<h3 class="inline-block">{{t "Notification triggers" }}</h3> <h3 class="inline-block">{{t "Notification triggers" }}</h3>
<div class="alert-notification general-notify-settings-status"></div> <div class="alert-notification general-notify-settings-status"></div>
@ -107,5 +106,4 @@
{{/each}} {{/each}}
</div> </div>
</form> </form>
</div>

View File

@ -0,0 +1,3 @@
<div id="user-notification-settings" class="settings-section" data-name="notifications">
{{> notification_settings}}
</div>

View File

@ -5,7 +5,7 @@
{{> settings/user_display_settings }} {{> settings/user_display_settings }}
{{> settings/notification_settings }} {{> settings/user_notification_settings }}
{{> settings/bot_settings }} {{> settings/bot_settings }}