From 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f Mon Sep 17 00:00:00 2001 From: Mike Chen Date: Sun, 5 Jul 2009 10:23:06 +0800 Subject: initiliaze git rep --- templates/user_votes.html | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 templates/user_votes.html (limited to 'templates/user_votes.html') diff --git a/templates/user_votes.html b/templates/user_votes.html new file mode 100644 index 00000000..d50a3308 --- /dev/null +++ b/templates/user_votes.html @@ -0,0 +1,28 @@ +{% extends "user.html" %} +{% load extra_tags %} +{% load humanize %} + +{% block usercontent %} +
+ {% for vote in votes %} +
+
{% diff_date vote.voted_at 3 %}
+
+ {% ifequal vote.vote 1 %} + + {% else %} + + {% endifequal %} +
+
+ {% ifequal vote.answer_id 0 %} + {{ vote.title }} + {% else %} + {{ vote.title }} + {% endifequal %} +
+
+
+ {% endfor %} +
+{% endblock %} \ No newline at end of file -- cgit v1.2.3-1-g7c22