add mail image to notifications portlet
This commit is contained in:
parent
dc75d56951
commit
fb924fdc03
2 changed files with 9 additions and 3 deletions
|
@ -1003,7 +1003,7 @@ class NodeTraverser(ItemTraverser):
|
||||||
try:
|
try:
|
||||||
obj = super(NodeTraverser, self).publishTraverse(request, name)
|
obj = super(NodeTraverser, self).publishTraverse(request, name)
|
||||||
except NotFound, e:
|
except NotFound, e:
|
||||||
logger.warn('NodeTraverser: NotFound: URL = %s, name = %r' %
|
logger.warn('NodeTraverser: NotFound: URL = %s, name = %r' %
|
||||||
(request.URL, name))
|
(request.URL, name))
|
||||||
raise
|
raise
|
||||||
return obj
|
return obj
|
||||||
|
|
|
@ -57,11 +57,17 @@
|
||||||
<div tal:condition="python:numNews == 1">
|
<div tal:condition="python:numNews == 1">
|
||||||
<a i18n:translate=""
|
<a i18n:translate=""
|
||||||
tal:attributes="href macro/url">
|
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">
|
<div tal:condition="python:numNews > 1">
|
||||||
<a i18n:translate=""
|
<a i18n:translate=""
|
||||||
tal:attributes="href macro/url">
|
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>
|
</metal:actions>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue