changeset 797:c37760a79059

Tweak contest detail template for pluralization.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 Jul 2014 13:35:47 -0500
parents 5977b43499f7
children c5d73b4a2899
files sg101/templates/contests/contest_detail.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sg101/templates/contests/contest_detail.html	Fri Jul 04 20:30:14 2014 -0500
+++ b/sg101/templates/contests/contest_detail.html	Sat Jul 05 13:35:47 2014 -0500
@@ -60,7 +60,7 @@
    <li>{% profile_link winner.username %}</li>
    {% endfor %}
 </ul>
-<p>Congratulations to the winners!</p>
+<p>Congratulations to the winner{{ contest.num_winners|pluralize }}!</p>
 {% else %}
 <p>
 We will randomly choose {{ contest.num_winners }} winner{{ contest.num_winners|pluralize }}