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/index.html | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 templates/index.html (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 00000000..2ef66d4e --- /dev/null +++ b/templates/index.html @@ -0,0 +1,123 @@ +{% extends "base.html" %} +{% load i18n %} +{% load extra_tags %} +{% load humanize %} +{% load extra_filters %} +{% block title %}{% spaceless %}{% trans "Home" %}{% endspaceless %}{% endblock %} +{% block meta %} + {% endblock %} +{% block forejs %} + +{% endblock %} +{% block content %} +
+
{% trans "Questions" %}
+ +
+ +
+ {% for question in questions %} +
+

+ + {{ 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 }}... +
+ {% if question.wiki %} + {% trans "community wiki" %} + {% diff_date question.last_activity_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 %} +
+ {% for tag in question.tagname_list %} + + {% endfor %} +
+
+ {% endfor %} +
+{% endblock %} + +{% block sidebar %} +{% if not request.user.is_authenticated %} +
+

{% trans "welcome to website" %}

+
+

{% trans "what is this website" %}

+

{% trans "what can one do on this website" %}

+ + +
+
+{% endif %} +
+

{% trans "Recent tags" %}

+
+

+ {% for tag in tags %} + + {% endfor %} +

+ +
+
+
+

{% trans "Recent awards" %}

+
+ + +
+
+
+{% trans "subscribe to the questions feed" %} +
+{% endblock %} +{% block tail %} +
+{% trans "Still looking for more? See" %} {% trans "complete list of quesionts" %}, {% trans "or" %} {% trans "popular tags" %}{% trans "." %} {% trans "Please help us answer" %} {% trans "unanswered questions" %}{% trans "." %} +
+{% endblock %} -- cgit v1.2.3-1-g7c22