Merge pull request #9858 from annando/notify-ignored

New setting that controls notifications for ignored contacts
This commit is contained in:
Hypolite Petovan 2021-01-24 08:59:18 -05:00 committed by GitHub
commit a7fac5a76f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 1 deletions

View file

@ -101,6 +101,8 @@
{{include file="field_checkbox.tpl" field=$email_textonly}}
{{include file="field_checkbox.tpl" field=$detailed_notif}}
{{include file="field_checkbox.tpl" field=$notify_ignored}}
{{include file="field_checkbox.tpl" field=$desktop_notifications}}
<script>
(function () {

View file

@ -150,6 +150,8 @@
{{include file="field_checkbox.tpl" field=$email_textonly}}
{{include file="field_checkbox.tpl" field=$detailed_notif}}
{{include file="field_checkbox.tpl" field=$notify_ignored}}
{{* commented out because it was commented out in the original template
<div class="field">
<button type="button" onclick="javascript:Notification.requestPermission(function(perm){if(perm === 'granted')alert('{{$desktop_notifications_success_message}}');});">{{$desktop_notifications}}</button>