[imc-sf-coders] CVS update of sf-active/sf-active/sitename/local/templates (1 file)

Bart M pseudopunk at codecoop.org
Sat Dec 31 03:13:54 PST 2005


    Date: Saturday, December 31, 2005 @ 12:13:54
  Author: pseudopunk
    Path: /cvsroot/sf-active/sf-active/sf-active/sitename/local/templates

Modified: comment_list.tpl

if not yet 10 comments, put the actual number of comments instead of 10 - closes bug #390


Index: sf-active/sf-active/sitename/local/templates/comment_list.tpl
diff -u sf-active/sf-active/sitename/local/templates/comment_list.tpl:1.4 sf-active/sf-active/sitename/local/templates/comment_list.tpl:1.5
--- sf-active/sf-active/sitename/local/templates/comment_list.tpl:1.4	Sat Dec 31 11:53:17 2005
+++ sf-active/sf-active/sitename/local/templates/comment_list.tpl	Sat Dec 31 12:13:54 2005
@@ -10,11 +10,7 @@
         <tr>
           <td class="bgnewswire" valign="top">
 	    <small><strong>{$dict.comment_box_title}</strong></small><br />
-		{if $tpl.visible_comments < 10}
-		    {$dict.comment_box_body|replace:"N_UMCOMMENT":"`$tpl.visible_comments`"|replace:"10":"`$tpl.visible_comments`"}<br />
-		{else}
-		    {$dict.comment_box_body|replace:"N_UMCOMMENT":"`$tpl.visible_comments`"}<br />
-		{/if}
+		{$dict.comment_box_body|replace:"N_UMCOMMENT":"`$tpl.total_comments`"|replace:"10":"`$tpl.visible_comments`"}<br />
             <table border="0" cellspacing="1" cellpadding="3">
               <tr>
                 <td class="bgnewswire">{$dict.title|upper}</td>


More information about the imc-sf-coders mailing list