src/cm/templates/site/macros/text_meta.html
author raph
Mon, 25 Jan 2010 15:45:44 +0100
changeset 122 7e7f961599ae
parent 120 5afc61269b10
child 123 a646958c787c
permissions -rw-r--r--
remove unused translation block
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     1
{% load i18n %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     2
{% load com %}
40c8f766c9b8 import from internal svn r 4007
raph
parents:
diff changeset
     3
{% nb_comments text as nb_comments %}
120
5afc61269b10 text meta displays last modif and nb versions (fixes #25)
raph
parents: 0
diff changeset
     4
5afc61269b10 text meta displays last modif and nb versions (fixes #25)
raph
parents: 0
diff changeset
     5
<span class="metadata">
5afc61269b10 text meta displays last modif and nb versions (fixes #25)
raph
parents: 0
diff changeset
     6
<abbr title="{{ text_version.created|local_date:tz }}">{% blocktrans with text_version.created|timesince as duration %}last modified {{ duration }} ago{% endblocktrans %}</abbr>
5afc61269b10 text meta displays last modif and nb versions (fixes #25)
raph
parents: 0
diff changeset
     7
/
5afc61269b10 text meta displays last modif and nb versions (fixes #25)
raph
parents: 0
diff changeset
     8
{% blocktrans count text.get_versions_number as versions_number %}1 version{% plural%}{{ versions_number }} versions{% endblocktrans %}
5afc61269b10 text meta displays last modif and nb versions (fixes #25)
raph
parents: 0
diff changeset
     9
</span>