src/cm/templates/site/macros/text_meta.html
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 123 a646958c787c
permissions -rw-r--r--
add link to "privacy policy" in the header test
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">
123
a646958c787c fix display on non auth home page
raph
parents: 120
diff changeset
     6
<abbr title="{{ text.last_text_version.created|local_date:tz }}">{% blocktrans with text.last_text_version.created|timesince as duration %}last modified {{ duration }} ago{% endblocktrans %}</abbr>
120
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>