Changeset 1128

Show
Ignore:
Timestamp:
06/27/08 09:38:39
Author:
deo
Message:

Whitespaces.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qPloneComments/branches/plone-3.0/browser/__init__.py

    r1018 r1128  
     1# 
  • qPloneComments/branches/plone-3.0/browser/comments.pt

    r1018 r1128  
    3737                            isPublished python:reply.review_state=='published';" 
    3838                tal:attributes="style string:margin-left:${indent}em;"> 
    39                  
     39 
    4040                <h3> 
    4141                    <a name="comments" tal:attributes="name reply/id"> 
     
    5353                    <span i18n:translate="label_anonymous_user" 
    5454                          tal:condition="anonymous_creator">Anonymous User</span> 
    55                     <span i18n:translate="label_commented_at">at</span>  
     55                    <span i18n:translate="label_commented_at">at</span> 
    5656                    <span tal:replace="python:view.format_time(reply.ModificationDate())">8/23/2001 12:40:44 PM</span> 
    5757                    <span tal:condition="python:ifModerate and not isPublished">[pending]</span> 
  • qPloneComments/branches/plone-3.0/browser/comments.py

    r1018 r1128  
    66from plone.app.layout.viewlets import comments 
    77 
     8 
    89class CommentsViewlet(comments.CommentsViewlet): 
    9     """A custom version of the comments viewlet  
     10    """A custom version of the comments viewlet 
    1011    """ 
    1112 
    1213    render = ViewPageTemplateFile('comments.pt') 
    13      
     14 
    1415    def is_moderation_enabled(self): 
    1516        """ Returns a boolean indicating whether the user has enabled moderation 
     
    2122        except AttributeError: 
    2223            return False 
    23          
     24 
    2425    def can_moderate(self): 
    2526        """ Returns a boolean indicating whether the user has the 'Moderate Discussion'