commit: b5cbbcede4bb352531198d4e80a36d0082ccfa6e
parent d4ba97d00df7e1d97c0fa63419ab74dc4ee10f00
Author: Cqoicebordel <Cqoicebordel@users.noreply.github.com>
Date: Thu, 12 Feb 2015 02:02:30 +0100
LTR the about page correctly
Diffstat:
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git 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
@@ -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
@@ -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
@@ -412,7 +412,6 @@ def about():
"""Render about page"""
return render(
'about.html',
- rtl=False,
)