documentByLine added to the comments viewlet (to localized time is not working yet).
svn path=/plone.app.discussion/trunk/; revision=27118
This commit is contained in:
parent
c7a898933a
commit
9b73aa76c5
@ -14,19 +14,17 @@
|
|||||||
</a>
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<!--<div class="documentByLine"
|
<div class="documentByLine"
|
||||||
tal:define="creator reply/Creator;
|
tal:define="creator reply/Creator;
|
||||||
anonymous_creator python:creator in ('Anonymous User', '');
|
anonymous_creator python:creator in ('Anonymous User', '');">
|
||||||
mi python:not anonymous_creator and view.member_info(creator);
|
|
||||||
fullname python: mi and mi['fullname'] or creator;" >
|
|
||||||
<tal:posted i18n:translate="label_comment_by">Posted by</tal:posted>
|
<tal:posted i18n:translate="label_comment_by">Posted by</tal:posted>
|
||||||
<tal:name content="fullname"
|
<tal:name content="creator"
|
||||||
condition="not:anonymous_creator">Poster Name</tal:name>
|
condition="not:anonymous_creator">Poster Name</tal:name>
|
||||||
<tal:name i18n:translate="label_anonymous_user"
|
<tal:name i18n:translate="label_anonymous_user"
|
||||||
condition="anonymous_creator">Anonymous User</tal:name>
|
condition="anonymous_creator">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.ModificationDate())">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>
|
||||||
|
|
||||||
<div class="commentBody"
|
<div class="commentBody"
|
||||||
tal:content="structure reply/text">
|
tal:content="structure reply/text">
|
||||||
|
Loading…
Reference in New Issue
Block a user