]> git.openstreetmap.org Git - osqa.git/blob - 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
1 {% load extra_tags i18n %}
2 <div class='post-update-info post-update-info-user'>
3     <p style="line-height:12px;">
4         {{ node_verb }}
5         <strong>{% diff_date node.added_at %}</strong>
6     </p>
7     {% gravatar node.author 32 %}
8     <p><a {% if node.author.is_suspended %}class="suspended-user" {% endif %}href="{{ node.author.get_profile_url }}">{{ node.author.decorated_name }}</a><br/>
9     {% get_score_badge node.author %}<br />
10     {% get_accept_rate node.author %}</p>
11 </div>
12 {% if node.last_edited %}
13     <div class='post-update-info post-update-info-edited'>
14         <p style="line-height:12px;">
15             <a href="{{ node.get_revisions_url }}">
16                 {{ node.last_edited.verb }}
17                 <strong>{% diff_date node.last_edited.at %}</strong>
18             </a>
19         </p>
20         {% ifnotequal node.author node.last_edited.by %}
21             {% gravatar node.last_edited.by 32 %}
22             <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/>
23             {% get_score_badge node.last_edited.by %}</p>
24         {% endifnotequal %}
25     </div>
26 {% endif %}