]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/user_recent.html
Initial commit
[osqa.git] / forum / skins / default / templates / user_recent.html
1 {% extends "user.html" %}
2 <!-- user_recent.html -->
3 {% load extra_tags %}
4 {% load humanize %}
5 {% block usercontent %}
6         <div style="padding-top:5px;font-size:13px;">
7         {% for act in activities %}
8             <div style="clear:both;line-height:20px" >
9                 <div style="width:180px;float:left">{% diff_date act.time 3 %}</div>
10                 <div style="width:150px;float:left">
11                 <span class="user-action-{{ act.type_id }}">{{ act.type }}</span>
12                 </div>
13                 <div style="float:left;overflow:hidden;">
14                     {% ifequal act.type_id 7 %}
15                     <a href="{{act.badge.get_absolute_url}}" title="{{ act.badge.get_type_display }} : {{ act.badge.description }}" class="medal"><span class="badge{{ act.badge.type }}">&#9679;</span>&nbsp;{{ act.badge.name }}</a>
16                     {% else %}
17                     <span class="post-type-{{ act.type_id }}"><a href="{{ act.title_link }}">{{ act.title }}</a></span>
18                     {% if act.summary %}<span class="revision-summary">{{ act.summary }}</span>{% endif %}
19                     {% endifequal %}
20                     <div style="height:5px"></div>
21                 </div>
22             </div>
23         {% endfor %}
24         </div>
25 {% endblock %}
26 <!-- end user_recent.html -->