fix display on non auth home page
authorraph
Mon, 25 Jan 2010 15:56:34 +0100
changeset 123 a646958c787c
parent 122 7e7f961599ae
child 124 4576a8264929
fix display on non auth home page
src/cm/templates/site/macros/text_meta.html
--- a/src/cm/templates/site/macros/text_meta.html	Mon Jan 25 15:45:44 2010 +0100
+++ b/src/cm/templates/site/macros/text_meta.html	Mon Jan 25 15:56:34 2010 +0100
@@ -3,7 +3,7 @@
 {% nb_comments text as nb_comments %}
 
 <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>
+<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>
 /
 {% blocktrans count text.get_versions_number as versions_number %}1 version{% plural%}{{ versions_number }} versions{% endblocktrans %}
 </span>