]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/user_responses.html
initial import
[osqa.git] / forum / skins / default / templates / user_responses.html
1 {% extends "user.html" %}
2 <!-- user_responses.html -->
3 {% load extra_tags %}
4 {% load humanize %}
5
6 {% block usercontent %}
7         <div style="padding-top:5px;font-size:13px;">
8         {% for response in responses %}
9             <div style="clear:both;line-height:18px">
10                 <div style="width:150px;float:left">{% diff_date response.time 3 %}</div>
11                 <div style="width:100px;float:left"><a href="{{ response.userlink }}">{{ response.username }}</a></div>
12                 <div style="float:left;overflow:hidden;width:680px">
13                     <strong {% ifequal response.type "question_answered" %}class="user-action-2"{% endifequal %}{% ifequal response.type "answer_accepted" %}class="user-action-8"{% endifequal %}>{{ response.type }}</strong>:
14                     <a href="{{ response.titlelink }}">{{ response.title }}</a><br/>
15                     {{ response.content|safe }}
16                     <div style="height:10px"></div>
17                 </div>
18
19             </div>
20         {% endfor %}
21         </div>
22 {% endblock %}
23 <!-- end user_responses.html -->