From 1eacc7a42618e84766477fbcc2c32a1da3547115 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Mon, 10 Aug 2009 21:40:01 -0400 Subject: untested commit. merged Adolfos mods, validated most of html, slugify urls, fixed IE issues in openid signin --- templates/question.html | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) (limited to 'templates/question.html') diff --git a/templates/question.html b/templates/question.html index 1fd6467d..a2628859 100644 --- a/templates/question.html +++ b/templates/question.html @@ -69,38 +69,45 @@ {% if question_vote %} + alt="{% trans "i like this post (click again to cancel)" %}" + title="{% trans "i like this post (click again to cancel)" %}" />
{{ question.score }}
+ alt="{% trans "i dont like this post (click again to cancel)" %}" + title="{% trans "i dont like this post (click again to cancel)" %}" /> {% else %} {% trans + title="{% trans "i like this post (click again to cancel)" %}" />
{{ question.score }}
+ src="/content/images/vote-arrow-down.png" + alt="{% trans "i dont like this post (click again to cancel)" %}" + title="{% trans "i dont like this post (click again to cancel)" %}" /> {% endif %} -

{% if favorited %} + alt="{% trans "mark this question as favorite (click again to cancel)" %}" + title="{% trans "mark this question as favorite (click again to cancel)" %}" />
{{ question.favourite_count }}
{% else %} -
{% ifnotequal question.favourite_count 0 %}{{ question.favourite_count }}{% endifnotequal %} + alt="{% trans "remove favorite mark from this question (click again to restore mark)" %}" + title="{% trans "remove favorite mark from this question (click again to restore mark)" %}" /> +
+ {% ifnotequal question.favourite_count 0 %}{{ question.favourite_count }}{% endifnotequal %}
{% endif %} @@ -275,24 +282,29 @@
- + {% trans
{{ answer.score }}
+ alt="{% trans "i dont like this answer (click again to cancel)" %}" + title="{% trans "i dont like this answer (click again to cancel)" %}" /> -

{% ifequal request.user question.author %} + alt="{% trans "mark this answer as favorite (click again to undo)" %}" + title="{% trans "mark this answer as favorite (click again to undo)" %}" /> {% else %} {% if answer.accepted %} + alt="{% trans "the author of the question has selected this answer as correct" %}" + title="{% trans "the author of the question has selected this answer as correct" %}" /> {% endif %} {% endifequal %}
@@ -464,15 +476,13 @@
{{ answer.text.errors }}
-
- + {% if request.user.is_authenticated %} {{ answer.email_notify }} {% else %} - + {% endif %} {% endif %} -

@@ -487,7 +497,7 @@ {% for tag in tags %} × {{ tag.used_count|intcomma }}
+ rel="tag">{{ tag.name }} ✕{{ tag.used_count|intcomma }}
{% endfor %}

@@ -510,7 +520,6 @@

{% endfor %} -
{% endblock %} -- cgit v1.2.3-1-g7c22