From 3c4c71fc19865bfb75231c425fae31c6b2c211de Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 9 Feb 2010 16:48:38 -0500 Subject: started working towards skinning forum app - first step - move templates to app --- forum/templates/user_votes.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 forum/templates/user_votes.html (limited to 'forum/templates/user_votes.html') diff --git a/forum/templates/user_votes.html b/forum/templates/user_votes.html new file mode 100644 index 00000000..94d7fcbd --- /dev/null +++ b/forum/templates/user_votes.html @@ -0,0 +1,32 @@ +{% extends "user.html" %} + +{% load extra_tags %} +{% load extra_filters %} +{% load humanize %} +{% load i18n %} + +{% 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 %} + -- cgit v1.2.3-1-g7c22