aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/notifications_widget.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-05-02 13:00:45 +0000
committerMario <mario@mariovavti.com>2024-05-02 13:00:45 +0000
commit058c7d6c13e4cb76efd001ca5be39769825587b0 (patch)
tree9ec6518429498f263adb3622cf75ed834b24e643 /view/tpl/notifications_widget.tpl
parentc6116e367a0f32fb95dfecf2d8c778ef97e7d76e (diff)
downloadvolse-hubzilla-058c7d6c13e4cb76efd001ca5be39769825587b0.tar.gz
volse-hubzilla-058c7d6c13e4cb76efd001ca5be39769825587b0.tar.bz2
volse-hubzilla-058c7d6c13e4cb76efd001ca5be39769825587b0.zip
start removing jgrowl
Diffstat (limited to 'view/tpl/notifications_widget.tpl')
-rw-r--r--view/tpl/notifications_widget.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl
index 9ea5ffec6..aa53905ad 100644
--- a/view/tpl/notifications_widget.tpl
+++ b/view/tpl/notifications_widget.tpl
@@ -337,17 +337,19 @@
sse_setNotificationsStatus();
// notice and info
- $.jGrowl.defaults.closerTemplate = '<div>[ ' + aStr.closeAll + ']</div>';
+ //$.jGrowl.defaults.closerTemplate = '<div>[ ' + aStr.closeAll + ']</div>';
if(obj.notice) {
$(obj.notice.notifications).each(function() {
- $.jGrowl(this, { sticky: true, theme: 'notice' });
+ toast(this, 'danger');
+ //$.jGrowl(this, { sticky: true, theme: 'notice' });
});
}
if(obj.info) {
$(obj.info.notifications).each(function(){
- $.jGrowl(this, { sticky: false, theme: 'info', life: 10000 });
+ toast(this, 'info');
+ //$.jGrowl(this, { sticky: false, theme: 'info', life: 10000 });
});
}