Merge pull request #3796 from tgxworld/notification_button

UX: Disable button when Notification permission is denied.
This commit is contained in:
Régis Hanol 2015-09-21 12:20:04 +02:00
commit 8c02b647a4
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
{{d-button icon="bell-slash" label="user.desktop_notifications.perm_default" action="requestPermission"}}
{{/if}}
{{#if isDeniedPermission}}
{{d-button icon="bell-slash" label="user.desktop_notifications.perm_denied_btn" action="recheckPermission"}}
{{d-button icon="bell-slash" label="user.desktop_notifications.perm_denied_btn" action="recheckPermission" disabled='true'}}
{{i18n "user.desktop_notifications.perm_denied_expl"}}
{{/if}}
{{#if isGrantedPermission}}