开发者

Badge condition code in Java for dashboard notifications

开发者 https://www.devze.com 2022-12-07 19:28 出处:网络
I am working on a java code, where new badge is shown with all the notifications. But I want them (new badge) to display only with latest once, if the notification is 2 month earlier with respect to t

I am working on a java code, where new badge is shown with all the notifications. But I want them (new badge) to display only with latest once, if the notification is 2 month earlier with respect to the present date then the badge disappears.

enter image description here

Below is the code:-

<c:if test="${notice.newFlag eq 'Y'}"> <small class="badge pull-left bg-red"&开发者_如何学编程gt;New</small> </c:if>

I want them (new badge) to display only with latest once

0

精彩评论

暂无评论...
验证码 换一张
取 消