You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2005/12/06 16:03:10 UTC

svn commit: r354446 - /incubator/roller/trunk/web/WEB-INF/classes/comments.vm

Author: snoopdave
Date: Tue Dec  6 07:03:05 2005
New Revision: 354446

URL: http://svn.apache.org/viewcvs?rev=354446&view=rev
Log:
Fixing comment preview

Modified:
    incubator/roller/trunk/web/WEB-INF/classes/comments.vm

Modified: incubator/roller/trunk/web/WEB-INF/classes/comments.vm
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/comments.vm?rev=354446&r1=354445&r2=354446&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/comments.vm (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/comments.vm Tue Dec  6 07:03:05 2005
@@ -102,7 +102,7 @@
     <br/>
     #foreach( $comment in $comments )
         <!-- comment: $comment.id -->
-        #if( $comment.approved )
+        #if($comment.approved || $previewComments)
             #set($content = $utilities.encodeEmail($comment.content))
             #if($escapeHtml)
                 #set($content = $utilities.escapeHTML($content))