var osqaSkin = '{{settings.OSQA_SKIN}}';
var messages = {
- 'username': '{{ user.username }}',
- 'confirm': "{% trans "Are you sure?" %}",
- 'yes': "{% trans "Yes" %}",
- 'no': "{% trans "No" %}",
- 'message': "{% trans "Message:" %}",
- 'cancel': "{% trans "Cancel" %}",
- 'close': "{% trans "Close" %}",
- 'ok': "{% trans "Ok" %}",
- 'matching_tags_url': "{% url matching_tags %}",
+ username: '{{ user.username }}',
+ confirm: "{% trans "Are you sure?" %}",
+ yes: "{% trans "Yes" %}",
+ no: "{% trans "No" %}",
+ message: "{% trans "Message:" %}",
+ cancel: "{% trans "Cancel" %}",
+ close: "{% trans "Close" %}",
+ ok: "{% trans "Ok" %}",
+ matching_tags_url: "{% url matching_tags %}",
+ word: "{% trans "word" %}",
+ words: "{% trans "words" %}",
+ character: "{% trans "character" %}",
+ characters: "{% trans "characters" %}"
}
/* ]] */
</script>
</div>
{% if settings.USE_CUSTOM_HEADER|or_preview:request %}
<div id="custom_header">
- {{ settings.CUSTOM_HEADER|or_preview:request|markdown:"settingsparser" }}
+ {{ settings.CUSTOM_HEADER|or_preview:request|static_content:settings.CUSTOM_HEADER_RENDER_MODE }}
</div>
{% endif %}
{% include "header.html" %}
{% if settings.USE_CUSTOM_FOOTER|or_preview:request %}
{% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "above" %}
<div id="custom_footer">
- {{ settings.CUSTOM_FOOTER|or_preview:request|markdown:"settingsparser" }}
+ {{ settings.CUSTOM_FOOTER|or_preview:request|static_content:settings.CUSTOM_FOOTER_RENDER_MODE }}
</div>
{% endifequal %}
<div id="ground">
{% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "replace" %}
- {{ settings.CUSTOM_FOOTER|or_preview:request|markdown:"settingsparser" }}
+ {{ settings.CUSTOM_FOOTER|or_preview:request|static_content:settings.CUSTOM_FOOTER_RENDER_MODE }}
{% else %}
{% include "footer.html" %}
{% endifequal %}
</div>
{% ifequal settings.CUSTOM_FOOTER_MODE|or_preview:request "below" %}
<div id="custom_footer">
- {{ settings.CUSTOM_FOOTER|or_preview:request|markdown:"settingsparser" }}
+ {{ settings.CUSTOM_FOOTER|or_preview:request|static_content:settings.CUSTOM_FOOTER_RENDER_MODE }}
</div>
{% endifequal %}
{% else %}