src/cm/templates/site/macros/text_meta.html
changeset 120 5afc61269b10
parent 0 40c8f766c9b8
child 123 a646958c787c
--- a/src/cm/templates/site/macros/text_meta.html	Mon Jan 25 11:34:22 2010 +0100
+++ b/src/cm/templates/site/macros/text_meta.html	Mon Jan 25 12:57:01 2010 +0100
@@ -1,4 +1,9 @@
 {% load i18n %}
 {% load com %}
 {% nb_comments text as nb_comments %}
-<span class="metadata">{% blocktrans count nb_comments as nb_comments %}{{ nb_comments }} comment{% plural %}{{ nb_comments }} comments{% endblocktrans %}</span>
+
+<span class="metadata">
+<abbr title="{{ text_version.created|local_date:tz }}">{% blocktrans with text_version.created|timesince as duration %}last modified {{ duration }} ago{% endblocktrans %}</abbr>
+/
+{% blocktrans count text.get_versions_number as versions_number %}1 version{% plural%}{{ versions_number }} versions{% endblocktrans %}
+</span>