summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-02-12 02:02:30 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2015-02-12 02:02:30 +0100
commitb5cbbcede4bb352531198d4e80a36d0082ccfa6e (patch)
treea4b231aa5905210a49d4b1f70f6be1b089ac4ef7
parentd4ba97d00df7e1d97c0fa63419ab74dc4ee10f00 (diff)
LTR the about page correctly
-rw-r--r--searx/templates/courgette/about.html2
-rw-r--r--searx/templates/default/about.html2
-rw-r--r--searx/templates/oscar/about.html2
-rw-r--r--searx/webapp.py1
4 files changed, 3 insertions, 4 deletions
diff --git a/searx/templates/courgette/about.html b/searx/templates/courgette/about.html
index 1c2e0635d..2945e1f7b 100644
--- a/searx/templates/courgette/about.html
+++ b/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.
diff --git a/searx/templates/default/about.html b/searx/templates/default/about.html
index 01d6f444e..1b5fc34c0 100644
--- a/searx/templates/default/about.html
+++ b/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.
diff --git a/searx/templates/oscar/about.html b/searx/templates/oscar/about.html
index 6f9572546..e1f378294 100644
--- a/searx/templates/oscar/about.html
+++ b/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.
diff --git a/searx/webapp.py b/searx/webapp.py
index 77b4507e9..b12a08db5 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -412,7 +412,6 @@ def about():
"""Render about page"""
return render(
'about.html',
- rtl=False,
)