From 0a9d4cebb2f8d1b6573ecae577f41d460a40ffc3 Mon Sep 17 00:00:00 2001 From: hernani Date: Thu, 24 Jun 2010 09:52:43 +0000 Subject: [PATCH] Fixes a possible django 1.1 compatibility issue. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@444 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/skins/default/templates/ask.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/forum/skins/default/templates/ask.html b/forum/skins/default/templates/ask.html index 2f2b92e..557b072 100644 --- a/forum/skins/default/templates/ask.html +++ b/forum/skins/default/templates/ask.html @@ -1,7 +1,6 @@ {% extends "base.html" %} -{% load i18n %} -{% load extra_tags %} +{% load i18n extra_tags extra_filters %} {% block title %}{% spaceless %}{% trans "Ask a question" %}{% endspaceless %}{% endblock %} {% block forejs %} @@ -75,7 +74,7 @@

{% blocktrans %} After submiting your question, you will be redirected to the login/signup page. Your question will be saved in the current session and will be published after you login with your existing account, - or signup for a new account{% endblocktrans %}{% if "ask" in settings.REQUIRE_EMAIL_VALIDATION_TO %} + or signup for a new account{% endblocktrans %}{% if "ask"|contained_in:settings.REQUIRE_EMAIL_VALIDATION_TO %} {% trans "and validate your email." %}{% else %}.{% endif %}

{% else %} -- 2.39.5