add mail image to notifications portlet

This commit is contained in:
hplattner 2017-07-20 10:48:56 +02:00
parent dc75d56951
commit fb924fdc03
2 changed files with 9 additions and 3 deletions

View file

@ -57,11 +57,17 @@
<div tal:condition="python:numNews == 1">
<a i18n:translate=""
tal:attributes="href macro/url">
<span i18n:name="numNews" tal:content="numNews" /> new notification</a></div>
<span i18n:name="numNews" tal:content="numNews" /> new notification</a>
<img src="/++resource++cybertools.icons/email.png"
alt="new notifications" />
</div>
<div tal:condition="python:numNews > 1">
<a i18n:translate=""
tal:attributes="href macro/url">
<span i18n:name="numNews" tal:content="numNews" /> new notifications</a></div>
<span i18n:name="numNews" tal:content="numNews" /> new notifications</a>
<img src="/++resource++cybertools.icons/email.png"
alt="new notifications" />
</div>
</metal:actions>