The askbot/skins/default/templates/faq_static.html file contains:
{% trans %}Please <a href='%(ask_question_url)s'>ask</a> your question, help make our community better!{% endtrans %}
which is rendered with a link of: http://askbot.example.com/faq/%(ask_question_url)s. I suspect it should be href="{{ ask_question_url }}" but I am not certain if that will work with the translation mechanism.
Yes, that is wrong, the error happened when the strings were moved from django.po file to the templates.
It is better to use url template tags {% url ask %} and get rid of the unnecessary context variable in the template and in the view askbot.views.meta.faq. There are actually two urls like that.
If you fix that and make a pull request I will merge the patch. Thanks!
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2012-05-17 17:28:29 -0500
Seen: 34 times
Last updated: May 17 '12
"points added" in hover text even when subtracted
Does manage.py fix_question_tags work?
Accepting a previously unaccepted answer should not grant additional karma to author
"502 Bad Gateway" when visiting certain URLs, Part 2
Tags that are too long to display use truncated version when retagging question.
Viewing deleted question from an anonymoususer internal error
Editing a question title does not change SEO URL if I only append text to the title
Incorrect reputation check when attempting to reopen a closed question?
Pressing return key when editing a question text field reloads the page.
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.