Feature for desktop-notifications
This commit is contained in:
parent
d2261397d9
commit
f054dbfc8d
1 changed files with 5 additions and 0 deletions
|
@ -133,6 +133,11 @@
|
||||||
{{include file="field_intcheckbox.tpl" field=$notify8}}
|
{{include file="field_intcheckbox.tpl" field=$notify8}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="field">
|
||||||
|
<button onclick="javascript:Notification.requestPermission(function(perm){if(perm === 'granted')alert('{{$desktop_notifications_success_message}}');});return false;">{{$desktop_notifications}}</button>
|
||||||
|
<span class="field_help">{{$desktop_notifications_note}}</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
{{include file="field_checkbox.tpl" field=$email_textonly}}
|
{{include file="field_checkbox.tpl" field=$email_textonly}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue