summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-02-06 21:37:21 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-02-06 21:37:21 -0300
commitbe47ef965a8defddad9120ee1e41cee074729eaf (patch)
tree7a0068fe49508e12cc43b4e9755fe432b1b9620b
parent7d2218b4198bb8220273f862a3a9dc33db1a0e6d (diff)
downloadaskbot-be47ef965a8defddad9120ee1e41cee074729eaf.tar.gz
askbot-be47ef965a8defddad9120ee1e41cee074729eaf.tar.bz2
askbot-be47ef965a8defddad9120ee1e41cee074729eaf.zip
fixed age phrase on the user profile
-rw-r--r--askbot/templates/user_profile/user_info.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/templates/user_profile/user_info.html b/askbot/templates/user_profile/user_info.html
index 89f06321..e6d24463 100644
--- a/askbot/templates/user_profile/user_info.html
+++ b/askbot/templates/user_profile/user_info.html
@@ -98,7 +98,7 @@
<tr>
<!--todo - redo this with whole sentence translation -->
<td>{% trans %}age{% endtrans %}</td>
- <td>{{view_user.date_of_birth|get_age}} {% trans %}age unit{% endtrans %}</td>
+ <td>{% trans age=view_user.date_of_birth|get_age%}{{ age }} years old{% endtrans %}</td>
</tr>
{% endif %}
{% if votes_today_left %}