* [ADD] Added In-App notifications polling. It will show up a browser notification when there are pending notifications

* [MOD] Improved Javascript error handling
* [MOD] Code refactoring

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-10-16 01:13:38 +02:00
parent 0e3c8beaf2
commit e322563a66
35 changed files with 622 additions and 386 deletions

View File

@@ -87,6 +87,7 @@ final class UserSettingsManagerController extends ControllerBase implements Exte
$template->assign('chkTopNavbar', $userPreferences->isTopNavbar() ? 'checked="checked"' : '');
$template->assign('chkOptionalActions', $userPreferences->isOptionalActions() ? 'checked="checked"' : '');
$template->assign('chkResultsAsCards', $userPreferences->isResultsAsCards() ? 'checked="checked"' : '');
$template->assign('chkNotifications', $userPreferences->isCheckNotifications() ? 'checked="checked"' : '');
$template->assign('route', 'userSettingsGeneral/save');
return new DataTab(__('Preferencias'), $template);