]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/node/contributors_info.html
Should fix the missing admin items problem.
[osqa.git] / forum / skins / default / templates / node / contributors_info.html
index 54e0bbe2f0e8b6d5403f3164e78a7bfb5087dfdc..28bf49baa4a32cecd15ebb1ddc3283c01025e42f 100644 (file)
@@ -1,15 +1,16 @@
-{% load extra_tags %}
-<div class='post-update-info'>
+{% load extra_tags i18n %}
+<div class='post-update-info post-update-info-user'>
     <p style="line-height:12px;">
         {{ node_verb }}
         <strong>{% diff_date node.added_at %}</strong>
     </p>
     {% gravatar node.author 32 %}
-    <p><a href="{{ node.author.get_profile_url }}">{{ node.author.username }}</a><br/>
-    {% get_score_badge node.author %}</p>
+    <p><a {% if node.author.is_suspended %}class="suspended-user" {% endif %}href="{{ node.author.get_profile_url }}">{{ node.author.decorated_name }}</a><br/>
+    {% get_score_badge node.author %}<br />
+    {% get_accept_rate node.author %}</p>
 </div>
 {% if node.last_edited %}
-    <div class='post-update-info'>
+    <div class='post-update-info post-update-info-edited'>
         <p style="line-height:12px;">
             <a href="{{ node.get_revisions_url }}">
                 {{ node.last_edited.verb }}
@@ -18,7 +19,7 @@
         </p>
         {% ifnotequal node.author node.last_edited.by %}
             {% gravatar node.last_edited.by 32 %}
-            <p><a href="{{ node.last_edited.by.get_profile_url }}">{{ node.last_edited.by.username }}</a><br/>
+            <p><a {% if node.last_edited.by.is_suspended %}class="suspended-user" {% endif %}href="{{ node.last_edited.by.get_profile_url }}">{{ node.last_edited.by.decorated_name }}</a><br/>
             {% get_score_badge node.last_edited.by %}</p>
         {% endifnotequal %}
     </div>