Commit 86cf6725 authored by Claude Paroz's avatar Claude Paroz Committed by Claude Paroz

LANGUAGE_CODE and LANGUAGE_BIDI are offered through RequestContext.

2008-12-09  Claude Paroz  <claude@2xlibre.net>

	* templates/base.html: LANGUAGE_CODE and LANGUAGE_BIDI are offered
	through RequestContext.

svn path=/trunk/; revision=1210
parent 5429230a
2008-12-09 Claude Paroz <claude@2xlibre.net>
* templates/base.html: LANGUAGE_CODE and LANGUAGE_BIDI are offered
through RequestContext.
2008-12-08 Claude Paroz <claude@2xlibre.net>
* people/models.py:
......
{% load i18n %}
{% load stats_extras %}
{% get_current_language as LANGUAGE_CODE %}
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
......@@ -12,7 +11,7 @@
<link rel="stylesheet" href="/media/css/main.css"/>
<link rel="stylesheet" href="/media/css/layout.css"/>
<link rel="stylesheet" href="/media/css/style.css"/>
{% if rtl %}
{% if LANGUAGE_BIDI %}
<link rel="stylesheet" href="/media/css/rtl.css"/>
{% endif %}
<script src="/media/js/main.js" type="text/javascript"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment