diff options
author | Jef van Schendel <mail@jefvanschendel.nl> | 2011-12-18 00:31:39 +0100 |
---|---|---|
committer | Jef van Schendel <mail@jefvanschendel.nl> | 2011-12-18 00:31:39 +0100 |
commit | 18517e888a90bf1c0434dd4da99ef7980d333ed0 (patch) | |
tree | 9604cc794ca361505fc22fb1ed9520cbf10402af | |
parent | dbcf5289dcc7bcd03a1a92a204fd7c4c8348d318 (diff) | |
download | mediagoblin-18517e888a90bf1c0434dd4da99ef7980d333ed0.tar.lz mediagoblin-18517e888a90bf1c0434dd4da99ef7980d333ed0.tar.xz mediagoblin-18517e888a90bf1c0434dd4da99ef7980d333ed0.zip |
Show actual comment number. Only shows plural for now (ticket #712)
-rw-r--r-- | mediagoblin/templates/mediagoblin/user_pages/media.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 2c8c5033..b9e31667 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -81,7 +81,7 @@ <a class="button_action" href="{{ delete_url }}">{% trans %}Delete{% endtrans %}</a> {% endif %} </p> - <h3>{% trans %}23 comments{% endtrans %} + <h3>{% trans comment_count=comments.count() -%}{{ comment_count }} comments{%- endtrans %} <div class="right_align"> <a {% if not request.user %} |