]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/post_contributor_info.html
Fix error reported at http://meta.osqa.net/question/1660/just-been-awarded-student...
[osqa.git] / forum / skins / default / templates / post_contributor_info.html
index 9997be5fbf67063c111d62f4b8a234aea4141810..27706442c221b7ae8f306c168c1bd2eabbea8360 100644 (file)
         {% get_score_badge post.author %}</p>
     {% endif %}
 {% else %}
-    {% if post.last_edited_at %}
+    {% if post.last_edited %}
         <p style="line-height:12px;">
         {% ifequal post_type 'question' %}
         <a href="{% url question_revisions post.id %}">
         {% else %}
         <a href="{% url answer_revisions post.id %}">
         {% endifequal %}
-        {% trans "updated" %} <strong>{% diff_date post.last_edited_at %}</strong>
+        {% trans "updated" %} <strong>{% diff_date post.last_edited.at %}</strong>
         </a>
         </p>
-        {% if post.author != post.last_edited_by or wiki %}
-            {% gravatar post.last_edited_by 32 %}
-            <p style="float:left">{{post.last_edited_by.get_profile_link}}<br/>
-            {% get_score_badge post.last_edited_by %}</p>
+        {% if post.author != post.last_edited.by or wiki %}
+            {% gravatar post.last_edited.by 32 %}
+            <p style="float:left">{{post.last_edited.by.get_profile_link}}<br/>
+            {% get_score_badge post.last_edited.by %}</p>
         {% endif %}
     {% endif %}
 {% endifequal %}