]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/node/contributors_info.html
Some small tweaks.
[osqa.git] / forum / skins / default / templates / node / contributors_info.html
1 {% load extra_tags %}
2 <div class='post-update-info'>
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 %}</p>
10 </div>
11 {% if node.last_edited %}
12     <div class='post-update-info'>
13         <p style="line-height:12px;">
14             <a href="{{ node.get_revisions_url }}">
15                 {{ node.last_edited.verb }}
16                 <strong>{% diff_date node.last_edited.at %}</strong>
17             </a>
18         </p>
19         {% ifnotequal node.author node.last_edited.by %}
20             {% gravatar node.last_edited.by 32 %}
21             <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/>
22             {% get_score_badge node.last_edited.by %}</p>
23         {% endifnotequal %}
24     </div>
25 {% endif %}