]> git.openstreetmap.org Git - osqa.git/commitdiff
Fixes a possible django 1.1 compatibility issue.
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 24 Jun 2010 09:52:43 +0000 (09:52 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Thu, 24 Jun 2010 09:52:43 +0000 (09:52 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@444 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/skins/default/templates/ask.html

index 2f2b92e1463cf16dd56a835a3bdb6047d141cf64..557b072290de81501166a43f1c34f33ea28fd318 100644 (file)
@@ -1,7 +1,6 @@
 {% extends "base.html" %}
 <!-- template ask.html -->
-{% load i18n %}
-{% load extra_tags %}
+{% load i18n extra_tags extra_filters %}
 {% block title %}{% spaceless %}{% trans "Ask a question" %}{% endspaceless %}{% endblock %}
 {% block forejs %}
         <script type='text/javascript' src='{% media  "/media/js/wmd/showdown.js" %}'></script>
@@ -75,7 +74,7 @@
                 <p>{% 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 %}</p>
             </div>
             {% else %}