1. Ahmad Khayyat
  2. mezzanine

Commits

Stephen McDonald  committed fa3a970 Merge

Merge

  • Participants
  • Parent commits b8196d8, d70e940
  • Branches default

Comments (0)

Files changed (3)

File mezzanine/core/templates/base.html

View file
  • Ignore whitespace
 {% endif %}
 {% ifinstalled cartridge.shop %}
 <link rel="stylesheet" href="{{ STATIC_URL }}css/cartridge.css">
+    {% if LANGUAGE_BIDI %}
+        <link rel="stylesheet" href="{{ STATIC_URL }}css/cartridge.rtl.css">
+    {% endif %}
 {% endifinstalled %}
 {% block extra_css %}{% endblock %}
 {% endcompress %}

File mezzanine/mobile/static/css/mobile.rtl.css

View file
  • Ignore whitespace
+body {
+    direction: rtl;
+}

File mezzanine/mobile/templates/mobile/base.html

View file
  • Ignore whitespace
     <link rel="apple-touch-icon" href="" />
     <link rel="stylesheet" href="{{ STATIC_URL }}css/global-mobile.css" type="text/css" />
     <link rel="stylesheet" href="{{ STATIC_URL }}css/jquery.mobile-1.0a2.css" />
+    {% if LANGUAGE_BIDI %}
+        <link rel="stylesheet" href="{{ STATIC_URL }}css/mobile.rtl.css">
+    {% endif %}
     <script src="{{ STATIC_URL }}mezzanine/js/{{ settings.JQUERY_FILENAME }}"></script>
     <script src="{{ STATIC_URL }}js/jquery.mobile-1.0a2.js"></script>