Changeset 380

Show
Ignore:
Timestamp:
07/06/06 06:42:27
Author:
crchemist
Message:

Comments are visible only for moderators.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneComments/trunk/skins/qplonecomments/2.0.5/viewThreadsAtBottom.pt

    r379 r380  
    4343 
    4444        <a name="comments"> </a> 
    45  
    4645        <tal:getreplies repeat="reply python:portal.sort_modified_ascending( 
    4746                                             portal_discussion.getDiscussionFor(here).getReplies())"> 
    4847 
    4948                <div class="comment" 
     49                     tal:condition="python:checkPermission('Moderate Discussion', here) or isPublished" 
    5050                     tal:define="isPublished python:reply.review_state=='published'; 
    5151                                 ifModerate python:here.portal_properties.qPloneComments.getProperty('enable_moderation', None);"> 
  • qPloneComments/trunk/skins/qplonecomments/2.1/viewThreadsAtBottom.pt

    r379 r380  
    4141                            define="ifModerate python:here.portal_properties.qPloneComments.getProperty('enable_moderation', None);"> 
    4242                <div class="comment" style="" 
     43                    tal:condition="python:checkPermission('Moderate Discussion', here) or isPublished" 
    4344                    tal:define="indent python:reply_dict['depth']*2; 
    4445                                reply python:reply_dict['object'];