Skip to content

Commit

Permalink
add new settings toggle for mail notification [SDBELGA-818] (#4566)
Browse files Browse the repository at this point in the history
* add new settings toggle for mail notification [SDBELGA-818]

* address comment
  • Loading branch information
devketanpro authored Jul 9, 2024
1 parent e3d362b commit 3f5a067
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/apps/users/views/user-preferences.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@ <h3 id="notifications" class="sd-heading sd-text-align--left sd-text--sans sd-he
<span ng-hide="preferences['desktop:notification'].allowed" sd-switch ng-model="preferences['desktop:notification'].enabled"></span>
<label>{{ :: preferences['desktop:notification'].label | translate }}</label>
</div>
<div sd-info-item ng-show="preferences['assignment:notification']">
<span ng-hide="preferences['assignment:notification'].allowed" sd-switch ng-model="preferences['assignment:notification'].enabled"></span>
<label>{{ preferences['assignment:notification'].label }}</label>
</div>
<div sd-info-item ng-show="preferences['mark_for_user:notification']">
<span ng-hide="preferences['mark_for_user:notification'].allowed" sd-switch ng-model="preferences['mark_for_user:notification'].enabled"></span>
<label>{{ preferences['mark_for_user:notification'].label }}</label>
</div>
<div sd-info-item ng-hide="!$root.config.features.slackNotifications">
<span ng-hide="preferences['slack:notification'].allowed" sd-switch ng-model="preferences['slack:notification'].enabled"></span>
<label>{{ :: preferences['slack:notification'].label | translate }}</label>
Expand Down

0 comments on commit 3f5a067

Please sign in to comment.