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