From 8189408190333b4f6ac45f98623be0d1db8b9462 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 2 Jun 2018 22:11:11 +0200 Subject: finalize filters and forum notifications --- view/js/main.js | 3 ++- view/pdl/mod_network.pdl | 3 +-- view/tpl/common_pills.tpl | 3 +++ view/tpl/notifications_widget.tpl | 3 ++- view/tpl/settings.tpl | 1 + 5 files changed, 9 insertions(+), 4 deletions(-) (limited to 'view') diff --git a/view/js/main.js b/view/js/main.js index 7a8ddfe28..45c412296 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -509,7 +509,7 @@ function handleNotificationsItems(notifyType, data) { notify_menu.html(''); $(data).each(function() { - html = notifications_tpl.format(this.notify_link,this.photo,this.name,this.message,this.when,this.hclass,this.b64mid,this.notify_id,this.thread_top,this.unseen); + html = notifications_tpl.format(this.notify_link,this.photo,this.name,this.message,this.when,this.hclass,this.b64mid,this.notify_id,this.thread_top,this.unseen,this.private_forum); notify_menu.append(html); }); @@ -828,6 +828,7 @@ function updateInit() { }); handleNotificationsItems('forums', fnotifs); } + } if(! src) { diff --git a/view/pdl/mod_network.pdl b/view/pdl/mod_network.pdl index d26422093..a4bdf0a9f 100644 --- a/view/pdl/mod_network.pdl +++ b/view/pdl/mod_network.pdl @@ -1,9 +1,8 @@ [region=aside] [widget=activity_order][/widget] [widget=activity_filter][/widget] -[widget=forums][/widget] -[widget=suggestions][/widget] [widget=savedsearch][/widget] +[widget=suggestions][/widget] [widget=notes][/widget] [/region] diff --git a/view/tpl/common_pills.tpl b/view/tpl/common_pills.tpl index 8f4381f3d..e2b018d26 100755 --- a/view/tpl/common_pills.tpl +++ b/view/tpl/common_pills.tpl @@ -3,6 +3,7 @@ {{/foreach}} diff --git a/view/tpl/notifications_widget.tpl b/view/tpl/notifications_widget.tpl index c71f65b52..068441997 100644 --- a/view/tpl/notifications_widget.tpl +++ b/view/tpl/notifications_widget.tpl @@ -134,10 +134,11 @@ -- cgit v1.2.3