Mercurial > hg > chronicle
changeset 101:b67757b6fdae
Updated comment display
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Wed, 12 Dec 2007 17:49:50 +0000 |
parents | 19148729b491 |
children | 7a87c1556a0e |
files | themes/blocky/index.template themes/blog.steve.org.uk/index.template themes/blog.steve.org.uk/style.css themes/copyrighteous/index.template themes/default/index.template themes/default/style.css |
diffstat | 6 files changed, 25 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/themes/blocky/index.template Wed Dec 12 17:38:04 2007 +0000 +++ b/themes/blocky/index.template Wed Dec 12 17:49:50 2007 +0000 @@ -36,6 +36,10 @@ <table width="100%"> <tr> <td> + <!-- tmpl_if name='comment_count' --> + <!-- tmpl_var name='comment_count' --> comment(s). + <!-- /tmpl_if --> + <!-- tmpl_if name='tags' --> Tags: <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --> <!-- tmpl_else -->
--- a/themes/blog.steve.org.uk/index.template Wed Dec 12 17:38:04 2007 +0000 +++ b/themes/blog.steve.org.uk/index.template Wed Dec 12 17:49:50 2007 +0000 @@ -66,7 +66,9 @@ <div class="body"><!-- tmpl_var name='body' --></div> <div class="tags"> <!-- tmpl_if name='comment_count' --> - <!-- tmpl_var name='comment_count' --> comments. + <span class="comments"> + <!-- tmpl_var name='comment_count' --> comment(s). + </span> <!-- /tmpl_if --> <!-- tmpl_if name='tags' -->
--- a/themes/blog.steve.org.uk/style.css Wed Dec 12 17:38:04 2007 +0000 +++ b/themes/blog.steve.org.uk/style.css Wed Dec 12 17:49:50 2007 +0000 @@ -77,6 +77,11 @@ font-family: Verdana, Georgia, Arial, sans-serif; text-align: right; } +div.entry div.tags span.comments { + padding-left: 5px; + float: left; +} + ul { list-style-type: none;
--- a/themes/copyrighteous/index.template Wed Dec 12 17:38:04 2007 +0000 +++ b/themes/copyrighteous/index.template Wed Dec 12 17:49:50 2007 +0000 @@ -35,6 +35,12 @@ <!-- tmpl_var name='body' --> </div> <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' -->">Permalink</a> + <!-- tmpl_if name='comment_count' --> + <span class="comments"> + <!-- tmpl_var name='comment_count' --> comment(s). + </span> + <!-- /tmpl_if --> + <span class="tags"><!-- tmpl_if name='tags' -->| <!-- tmpl_loop name='tags' --><a href="<!-- tmpl_var name='top' -->tags/<!-- tmpl_var name='tag' -->"><!-- tmpl_var name='tag' --></a><!-- tmpl_if name="__last__" -->.<!-- tmpl_else -->, <!-- /tmpl_if --><!-- /tmpl_loop --><!-- /tmpl_if --> </span> </div> </div>
--- a/themes/default/index.template Wed Dec 12 17:38:04 2007 +0000 +++ b/themes/default/index.template Wed Dec 12 17:49:50 2007 +0000 @@ -29,7 +29,9 @@ <div class="body"><!-- tmpl_var name='body' --></div> <div class="tags"> <!-- tmpl_if name='comment_count' --> - <!-- tmpl_var name='comment_count' --> comments. + <span class="comments"> + <!-- tmpl_var name='comment_count' --> comment(s). + </span> <!-- /tmpl_if --> <!-- tmpl_if name='tags' -->