show link to notifications page also for 'no new notifications'
This commit is contained in:
parent
357c660659
commit
0b4fdef7b5
1 changed files with 4 additions and 2 deletions
|
@ -50,8 +50,10 @@
|
|||
<metal:actions define-macro="notifications_portlet"
|
||||
tal:define="view nocall:context/@@notifications_view;
|
||||
numNews python:len(view.getNotifications())">
|
||||
<div tal:condition="not:numNews"
|
||||
i18n:translate="">No new notifications</div>
|
||||
<div tal:condition="not:numNews">
|
||||
<a i18n:translate=""
|
||||
tal:attributes="href macro/url">
|
||||
No new notifications</a></div>
|
||||
<div tal:condition="python:numNews == 1">
|
||||
<a i18n:translate=""
|
||||
tal:attributes="href macro/url">
|
||||
|
|
Loading…
Add table
Reference in a new issue