diff options
author | vdigital <vdigital@piwigo.org> | 2008-12-15 20:42:35 +0000 |
---|---|---|
committer | vdigital <vdigital@piwigo.org> | 2008-12-15 20:42:35 +0000 |
commit | c7c4836934fa07c9908abe320dce5dee0e270437 (patch) | |
tree | 98149856c04459dcd4727ff80cd06eaf394f5c91 /template/yoga/comment_list.tpl | |
parent | d911ccca2c6235953a5eec9e7ef5f25ca6cea9a6 (diff) |
Fieldset background removal
Alternate colours of lines for each comment, AND have the "Add a comment" border (only) in orange
merge -c2982 from branch 2.0 to trunk
git-svn-id: http://piwigo.org/svn/trunk@2983 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | template/yoga/comment_list.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl index 57c2a73cb..ee4f4efb8 100644 --- a/template/yoga/comment_list.tpl +++ b/template/yoga/comment_list.tpl @@ -1,8 +1,8 @@ {* $Id$ *} <ul class="thumbnailCategories"> -{foreach from=$comments item=comment} +{foreach from=$comments item=comment name=comment_loop} <li> - <div class="thumbnailCategory"> + <div class="thumbnailCategory {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}"> {if isset($comment.TN_SRC)} <div class="illustration"> <a href="{$comment.U_PICTURE}"> |