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/users_questions.html | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 templates/users_questions.html (limited to 'templates/users_questions.html') diff --git a/templates/users_questions.html b/templates/users_questions.html new file mode 100644 index 00000000..f797a6b8 --- /dev/null +++ b/templates/users_questions.html @@ -0,0 +1,60 @@ +{% load extra_tags %} +{% load extra_filters %} +{% load humanize %} +
+ {% for question in questions%} + {% if question.favourite_count %} + {% if question.favorited_myself %} +
+ +
{{question.favourite_count|intcomma}}
+
+ {% else %} +
+ +
{{question.favourite_count|intcomma}}
+
+ {% endif %} + {% else %} +
+ {% endif %} +
+ +
+
+
{{question.vote_count|intcomma}}
+ 票 + +
+
+
{{question.answer_count|intcomma}}
+ 回答 + +
+
+
{{question.view_count|cnprog_intword|safe}}
+ 浏览 +
+
+
+
+

+ {{question.title}} +

+
+ {% 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 %} +
\ No newline at end of file -- cgit v1.2.3-1-g7c22