From 4a4e4e4ae83d6ff3f09580238049e74444b01416 Mon Sep 17 00:00:00 2001 From: Jiyda Mint Moussa Date: Mon, 29 Apr 2013 00:01:30 +0300 Subject: Added rtl language support RTL languages like Arabic, Hebrew etc were displayed from left to right. I fixed this by adding a function to check whether the language of the locale is rtl and change the direction of the html in "base.html" accordingly. [Fixes #220] --- mediagoblin/templates/mediagoblin/base.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mediagoblin/templates') diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html index 9c42a756..83bc65d4 100644 --- a/mediagoblin/templates/mediagoblin/base.html +++ b/mediagoblin/templates/mediagoblin/base.html @@ -16,11 +16,12 @@ # along with this program. If not, see . -#} + - + {% block title %}{{ app_config['html_title'] }}{% endblock %} @@ -48,6 +49,7 @@ {% endblock mediagoblin_head %} +
{% include 'mediagoblin/bits/body-start.html' %} {% block mediagoblin_body %} {% block mediagoblin_header %} @@ -133,5 +135,6 @@
{%- endblock mediagoblin_body %} {% include 'mediagoblin/bits/body-end.html' %} - + + -- cgit v1.2.3