开发者

Badge condition code in Java for dashboard notifications

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜