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/users_questions.html | 66 ++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 forum/templates/users_questions.html (limited to 'forum/templates/users_questions.html') diff --git a/forum/templates/users_questions.html b/forum/templates/users_questions.html new file mode 100644 index 00000000..b445a74c --- /dev/null +++ b/forum/templates/users_questions.html @@ -0,0 +1,66 @@ + +{% load extra_tags %} +{% load extra_filters %} +{% load humanize %} +{% load i18n %} +
+ {% for question in questions %} + {% if question.favourite_count %} + {% if question.favorited_myself %} +
+ {% trans +
{{question.favourite_count|intcomma}}
+
+ {% else %} +
+ {% trans +
{{question.favourite_count|intcomma}}
+
+ {% endif %} + {% else %} +
+ {% endif %} +
+ +
+
+ {{question.vote_count|intcomma}} + {% trans "votes" %} +
+
+ {{question.answer_count|intcomma}} + {% trans "answers" %} +
+
+ {{question.view_count|cnprog_intword|safe}} + {% trans "views" %} +
+
+
+
+ +
+ {% convert2tagname_list question %} + {% for tag in question.tagnames %} + + + {% endfor %} +
+
+ {% diff_date question.last_activity_at %} + {% if question.la_username %} + {{question.la_username}} {% get_score_badge_by_details question.la_user_reputation question.la_user_gold question.la_user_silver question.la_user_bronze%} + {% endif %} +
+
+
+
+ {% endfor %} +
+ -- cgit v1.2.3-1-g7c22