Sfoglia il codice sorgente

LTR the about page correctly

Cqoicebordel 10 anni fa
parent
commit
b5cbbcede4

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

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

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

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

412
     """Render about page"""
412
     """Render about page"""
413
     return render(
413
     return render(
414
         'about.html',
414
         'about.html',
415
-        rtl=False,
416
     )
415
     )
417
 
416
 
418
 
417