Mercurial > hg > chronicle
changeset 133:b5fc6377b32e
Updated to make the plural on 'comments' conditional.
author | Steve Kemp <steve@steve.org.uk> |
---|---|
date | Thu, 20 Dec 2007 12:59:28 +0000 |
parents | 7a05117f1bc3 |
children | 97fb2ef30e41 |
files | themes/blocky/index.template themes/blocky/month.template themes/blocky/tags.template themes/copyrighteous/entry.template themes/copyrighteous/index.template themes/copyrighteous/month.template themes/default/index.template |
diffstat | 7 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/themes/blocky/index.template Thu Dec 20 12:55:09 2007 +0000 +++ b/themes/blocky/index.template Thu Dec 20 12:59:28 2007 +0000 @@ -38,7 +38,7 @@ <td> <!-- tmpl_if name='comment_count' --> <span class="comments"> - <!-- tmpl_var name='comment_count' --> comment(s). + <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->. </span> <!-- /tmpl_if -->
--- a/themes/blocky/month.template Thu Dec 20 12:55:09 2007 +0000 +++ b/themes/blocky/month.template Thu Dec 20 12:59:28 2007 +0000 @@ -39,7 +39,7 @@ <tr><td> <!-- tmpl_if name='comment_count' --> <span class="comments"> - <!-- tmpl_var name='comment_count' --> comment(s). + <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->. </span> <!-- /tmpl_if --> <!-- tmpl_if name='tags' -->
--- a/themes/blocky/tags.template Thu Dec 20 12:55:09 2007 +0000 +++ b/themes/blocky/tags.template Thu Dec 20 12:59:28 2007 +0000 @@ -38,7 +38,7 @@ <div class="tags"> <!-- tmpl_if name='comment_count' --> <span class="comments"> - <!-- tmpl_var name='comment_count' --> comment(s). + <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->. </span> <!-- /tmpl_if --> <!-- tmpl_if name='tags' -->
--- a/themes/copyrighteous/entry.template Thu Dec 20 12:55:09 2007 +0000 +++ b/themes/copyrighteous/entry.template Thu Dec 20 12:59:28 2007 +0000 @@ -32,7 +32,7 @@ </div> <!-- tmpl_if name='comment_count' --> <span class="comments"> - <!-- tmpl_var name='comment_count' --> comment(s). + <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->. </span> <!-- /tmpl_if -->
--- a/themes/copyrighteous/index.template Thu Dec 20 12:55:09 2007 +0000 +++ b/themes/copyrighteous/index.template Thu Dec 20 12:59:28 2007 +0000 @@ -37,7 +37,7 @@ <a href="<!-- tmpl_var name='top' --><!-- tmpl_var name='link' escape='html' -->">Permalink</a> <!-- tmpl_if name='comment_count' --> <span class="comments"> - <!-- tmpl_var name='comment_count' --> comment(s). + <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->. </span> <!-- /tmpl_if -->
--- a/themes/copyrighteous/month.template Thu Dec 20 12:55:09 2007 +0000 +++ b/themes/copyrighteous/month.template Thu Dec 20 12:59:28 2007 +0000 @@ -36,7 +36,7 @@ </div> <!-- tmpl_if name='comment_count' --> <span class="comments"> - <!-- tmpl_var name='comment_count' --> comment(s). + <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->. </span> <!-- /tmpl_if -->
--- a/themes/default/index.template Thu Dec 20 12:55:09 2007 +0000 +++ b/themes/default/index.template Thu Dec 20 12:59:28 2007 +0000 @@ -30,7 +30,7 @@ <div class="tags"> <!-- tmpl_if name='comment_count' --> <span class="comments"> - <!-- tmpl_var name='comment_count' --> comment(s). + <!-- tmpl_var name='comment_count' --> comment<!-- tmpl_if name='comment_plural' -->s<!-- /tmpl_if -->. </span> <!-- /tmpl_if -->