summaryrefslogtreecommitdiffstats
path: root/templates/user_responses.html
diff options
context:
space:
mode:
authorMike Chen <chagel@gmail.com>2009-07-05 10:23:30 +0800
committerMike Chen <chagel@gmail.com>2009-07-05 10:23:30 +0800
commit4347c2947834fe7f2edf2b457b2d513454fc6a03 (patch)
tree93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/user_responses.html
downloadaskbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.gz
askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.tar.bz2
askbot-4347c2947834fe7f2edf2b457b2d513454fc6a03.zip
initiliaze git rep
Diffstat (limited to 'templates/user_responses.html')
-rw-r--r--templates/user_responses.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/user_responses.html b/templates/user_responses.html
new file mode 100644
index 00000000..0ada494c
--- /dev/null
+++ b/templates/user_responses.html
@@ -0,0 +1,21 @@
+{% 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 "回答问题"%}class="user-action-2"{% endifequal %}{% ifequal response.type "最佳答案"%}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 %} \ No newline at end of file