|
From: Chris W. <la...@us...> - 2005-09-24 14:03:00
|
Update of /cvsroot/openinteract/OpenInteract2/pkg/comments/template In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17674/template Modified Files: box_comment_recent.tmpl Log Message: don't use theme bullets, use normal UL/LI but define as class Index: box_comment_recent.tmpl =================================================================== RCS file: /cvsroot/openinteract/OpenInteract2/pkg/comments/template/box_comment_recent.tmpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** box_comment_recent.tmpl 17 May 2004 14:21:53 -0000 1.2 --- box_comment_recent.tmpl 24 Sep 2005 14:02:52 -0000 1.3 *************** *** 1,5 **** ! [%- DEFAULT theme = OI.theme_properties; -%] ! [% IF comments.size == 0 -%] <p>[% MSG( 'comments.no_comments' ) %]</p> --- 1,7 ---- ! [% IF error %] ! <p>[% error %]</p> ! ! [% ELSIF comments.size == 0 -%] <p>[% MSG( 'comments.no_comments' ) %]</p> *************** *** 7,15 **** [% ELSE -%] [% FOREACH comment = comments; ! object_url = comment.get_summary.object_url -%] ! [% theme.bullet %] <a href="[% object_url %]">[% comment.subject %]</a> on ! [% OI.date_format( comment.posted_on, '%Y-%m-%d %H:%M' ) %] <br /> [% END %] [% END -%] --- 9,20 ---- [% ELSE -%] + <ul class="listInBox"> [% FOREACH comment = comments; ! object_url = comment.get_summary.object_url; ! post_date = OI.date_format( comment.posted_on, '%d-%b %H:%M' ); -%] ! <li><a href="[% object_url %]">[% comment.subject %]</a> ! on [% post_date %]</li> [% END %] + </ul> [% END -%] |