show the default user image to anonymous (comments viewlet).

svn path=/plone.app.discussion/trunk/; revision=27230
This commit is contained in:
Timo Stollenwerk 2009-05-31 10:43:35 +00:00
parent 751ae5a06a
commit 0ce270bc66

View File

@ -42,9 +42,12 @@
tal:attributes="src portrait/absolute_url; tal:attributes="src portrait/absolute_url;
alt reply/creator" /> alt reply/creator" />
</a> </a>
<img src="" alt="" <img src="defaultUser.gif"
alt=""
border="0"
width="75"
tal:condition="isAnon" tal:condition="isAnon"
tal:attributes="src string:${context/portal_url}/portal_memberdata/portraits/${reply/author_username}; tal:attributes="src portrait/absolute_url;
alt reply/creator" /> alt reply/creator" />
</div> </div>