Browse Source

LTR the about page correctly

Cqoicebordel 10 years ago
parent
commit
b5cbbcede4

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

@@ -1,7 +1,7 @@
1 1
 {% extends 'courgette/base.html' %}
2 2
 {% block content %}
3 3
 {% include 'courgette/github_ribbon.html' %}
4
-<div class="row">
4
+<div class="row"{% if rtl %} dir="ltr"{% endif %}>
5 5
     <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
6 6
 
7 7
     <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 View File

@@ -1,7 +1,7 @@
1 1
 {% extends 'default/base.html' %}
2 2
 {% block content %}
3 3
 {% include 'default/github_ribbon.html' %}
4
-<div class="row">
4
+<div class="row"{% if rtl %} dir="ltr"{% endif %}>
5 5
     <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
6 6
 
7 7
     <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 View File

@@ -2,7 +2,7 @@
2 2
 {% block site_alert_warning_nojs %} {% endblock %}
3 3
 {% block title %}{{ _('about') }} - {% endblock %}
4 4
 {% block content %}
5
-<div>
5
+<div{% if rtl %} dir="ltr"{% endif %}>
6 6
     <h1>About <a href="{{ url_for('index') }}">searx</a></h1>
7 7
 
8 8
     <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 View File

@@ -412,7 +412,6 @@ def about():
412 412
     """Render about page"""
413 413
     return render(
414 414
         'about.html',
415
-        rtl=False,
416 415
     )
417 416
 
418 417