From 35b666224a05fbd249b1c51a0a48fb95b246fe9a Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 10 Jul 2009 19:15:28 -0400 Subject: adding all files again --- templates/unanswered.html | 120 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 templates/unanswered.html (limited to 'templates/unanswered.html') diff --git a/templates/unanswered.html b/templates/unanswered.html new file mode 100644 index 00000000..926f2ffd --- /dev/null +++ b/templates/unanswered.html @@ -0,0 +1,120 @@ + +{% extends "base.html" %} +{% load extra_tags %} +{% load i18n %} +{% load humanize %} +{% load extra_filters %} +{% block title %}{% spaceless %}{% trans "Unanswered questions" %}{% endspaceless %}{% endblock %} +{% block forejs %} + +{% endblock %} +{% block content %} +
+ {% trans "Unanswered questions" %} + +
+ +
+ {% for question in questions.object_list %} +
+

{{ question.get_question_title }}

+
+ + + + + + + + + + + +
{{ question.answer_count|intcomma }} {{ question.score|intcomma }} {{ question.view_count|cnprog_intword|safe }}
{% trans "answers" %}{% trans "votes" %}{% trans "views" %}
+
+
+ {{ question.summary }}... +
+ + {% ifequal tab_id 'active'%} + {% if question.wiki %} + {% trans "community wiki" %} + {% diff_date question.added_at %} + {% else %} +
+ {% comment %}{% gravatar question.last_activity_by 24 %}{% endcomment %} + {{ question.last_activity_by }} + {% get_score_badge question.last_activity_by %} + {% diff_date question.last_activity_at %} +
+ {% endif %} + {% else %} + {% if question.wiki %} + {% trans "community wiki" %} + {% diff_date question.added_at %} + {% else %} +
+ {% comment %}{% gravatar question.author 24 %}{% endcomment %} + {{ question.author }} + {% get_score_badge question.author %} + {% diff_date question.added_at %} +
+ {% endif %} + {% endifequal %} + +
+ {% for tag in question.tagname_list %} + + {% endfor %} +
+
+ {% endfor %} +
+{% endblock %} + +{% block tail %} +
+ {% cnprog_paginator context %} +
+
+ {% cnprog_pagesize context %} +
+{% endblock %} + +{% block sidebar %} +
+

+ {% blocktrans with questions_count|intcomma as num_q %}have {{num_q}} unanswered questions{% endblocktrans %} + {% comment %} + {% trans "Have a total of" %}

{{ questions_count|intcomma }}
+ {% endcomment %} + +

+
+
+

{% trans "Related tags" %}

+
+
+ {% for tag in tags %} + + × {{ tag.used_count|intcomma }} +
+ {% endfor %} +
+
+
+
+ +{% endblock %} + + -- cgit v1.2.3-1-g7c22