Fix 1513398: Show "anonymous" when name field is empty in comment form.
svn path=/plone.app.discussion/trunk/; revision=33281
This commit is contained in:
parent
649e41fcd5
commit
b1e4b2254c
@ -74,7 +74,7 @@
|
|||||||
tal:replace="reply/Creator" />
|
tal:replace="reply/Creator" />
|
||||||
</tal:name>
|
</tal:name>
|
||||||
<tal:name i18n:translate="label_anonymous_user"
|
<tal:name i18n:translate="label_anonymous_user"
|
||||||
condition="python:reply.Creator() in ('Anonymous User', '')">Anonymous User</tal:name>
|
condition="python:reply.Creator() in ('Anonymous User', '', None)">Anonymous User</tal:name>
|
||||||
<tal:at i18n:translate="label_commented_at">at</tal:at>
|
<tal:at i18n:translate="label_commented_at">at</tal:at>
|
||||||
<span tal:replace="python:view.format_time(reply.modification_date)">8/23/2001 12:40:44 PM</span>
|
<span tal:replace="python:view.format_time(reply.modification_date)">8/23/2001 12:40:44 PM</span>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user