Browse Source

LTR the about page correctly

Cqoicebordel 10 years ago
parent
commit
b5cbbcede4

+ 1 - 1
searx/templates/courgette/about.html

@@ -1,7 +1,7 @@
 {% extends 'courgette/base.html' %}
 {% block content %}
 {% include 'courgette/github_ribbon.html' %}
-<div class="row">
+<div class="row"{% if rtl %} dir="ltr"{% endif %}>
     <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
 
     <p>Searx is a <a href="https://en.wikipedia.org/wiki/Metasearch_engine">metasearch engine</a>, aggregating the results of other <a href="{{ url_for('preferences') }}">search engines</a> while not storing information about its users.

+ 1 - 1
searx/templates/default/about.html

@@ -1,7 +1,7 @@
 {% extends 'default/base.html' %}
 {% block content %}
 {% include 'default/github_ribbon.html' %}
-<div class="row">
+<div class="row"{% if rtl %} dir="ltr"{% endif %}>
     <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
 
     <p>Searx is a <a href="https://en.wikipedia.org/wiki/Metasearch_engine">metasearch engine</a>, aggregating the results of other <a href="{{ url_for('preferences') }}">search engines</a> while not storing information about its users.

+ 1 - 1
searx/templates/oscar/about.html

@@ -2,7 +2,7 @@
 {% block site_alert_warning_nojs %} {% endblock %}
 {% block title %}{{ _('about') }} - {% endblock %}
 {% block content %}
-<div>
+<div{% if rtl %} dir="ltr"{% endif %}>
     <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
 
     <p>Searx is a <a href="https://en.wikipedia.org/wiki/Metasearch_engine">metasearch engine</a>, aggregating the results of other <a href="{{ url_for('preferences') }}">search engines</a> while not storing information about its users.

+ 0 - 1
searx/webapp.py

@@ -412,7 +412,6 @@ def about():
     """Render about page"""
     return render(
         'about.html',
-        rtl=False,
     )