From a88ce4bd336e470900d138dcc19af7efaad40573 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 26 Sep 2014 18:26:46 +0200 Subject: [PATCH] little enhancement of oscar template * improve site-titles * add message which tell you if no data is availabe yet --- searx/templates/oscar/about.html | 1 + searx/templates/oscar/preferences.html | 1 + searx/templates/oscar/stats.html | 9 +++++++++ 3 files changed, 11 insertions(+) diff --git a/searx/templates/oscar/about.html b/searx/templates/oscar/about.html index c0353e29f..6f9572546 100644 --- a/searx/templates/oscar/about.html +++ b/searx/templates/oscar/about.html @@ -1,5 +1,6 @@ {% extends "oscar/base.html" %} {% block site_alert_warning_nojs %} {% endblock %} +{% block title %}{{ _('about') }} - {% endblock %} {% block content %}

About searx

diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index fa0799b28..840e9513a 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -1,4 +1,5 @@ {% extends "oscar/base.html" %} +{% block title %}{{ _('preferences') }} - {% endblock %} {% block content %}
diff --git a/searx/templates/oscar/stats.html b/searx/templates/oscar/stats.html index b78caaa93..dee304063 100644 --- a/searx/templates/oscar/stats.html +++ b/searx/templates/oscar/stats.html @@ -1,4 +1,5 @@ {% extends "oscar/base.html" %} +{% block title %}{{ _('stats') }} - {% endblock %} {% block content %}

{{ _('Engine stats') }}

@@ -19,6 +20,14 @@
{% endfor %} + {% if not stat_category %} +
+ +
+ {% endif %}
{% endfor %}