From 8753c0a347ba791a23d1bda563f70c8769ce3193 Mon Sep 17 00:00:00 2001 From: harukin Date: Mon, 31 Dec 2018 11:51:28 +0900 Subject: [PATCH] fix notificetions_widget.tpl --- .../plusfuture/tpl/notifications_widget.tpl | 62 ++++++++++++++++++- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/view/theme/plusfuture/tpl/notifications_widget.tpl b/view/theme/plusfuture/tpl/notifications_widget.tpl index 05feb6e..fb7b12a 100644 --- a/view/theme/plusfuture/tpl/notifications_widget.tpl +++ b/view/theme/plusfuture/tpl/notifications_widget.tpl @@ -90,8 +90,9 @@ $("#nav-{{$notification.type}}-menu .notification").each(function(i, el){ var cn = $(el).data('contact_name').toString().toLowerCase(); + var ca = $(el).data('contact_addr').toString().toLowerCase(); - if(cn.indexOf(val) === -1) + if(cn.indexOf(val) === -1 && ca.indexOf(val) === -1) $(this).addClass('d-none'); else $(this).removeClass('d-none'); @@ -114,4 +115,63 @@ } +
+
+ {{$no_notifications}}... +
+ + + +
{{/if}}