diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-09-26 18:26:46 +0200 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-05 14:40:46 +0200 |
| commit | a88ce4bd336e470900d138dcc19af7efaad40573 (patch) | |
| tree | d3a6014534098cbe5e718f8a03827c97c74a6b67 | |
| parent | c21a907cacbbfa8ce8a135362067086063a805f6 (diff) | |
little enhancement of oscar template
* improve site-titles
* add message which tell you if no data is availabe yet
| -rw-r--r-- | searx/templates/oscar/about.html | 1 | ||||
| -rw-r--r-- | searx/templates/oscar/preferences.html | 1 | ||||
| -rw-r--r-- | searx/templates/oscar/stats.html | 9 |
3 files changed, 11 insertions, 0 deletions
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 %} <div> <h1>About <a href="{{ url_for('index') }}">searx</a></h1> 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 %} <div> 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 %} <div class="container-fluid"> <h1>{{ _('Engine stats') }}</h1> @@ -19,6 +20,14 @@ </div> </div> {% endfor %} + {% if not stat_category %} + <div class="col-sm-12 col-md-12"> + <div class="alert alert-info" role="alert"> + <strong>{{ _('Heads up!') }}</strong> + {{ _('There is currently no data available.') }} + </div> + </div> + {% endif %} </div> </div> {% endfor %} |