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 /searx/templates/oscar/stats.html | |
| parent | c21a907cacbbfa8ce8a135362067086063a805f6 (diff) | |
little enhancement of oscar template
* improve site-titles
* add message which tell you if no data is availabe yet
Diffstat (limited to 'searx/templates/oscar/stats.html')
| -rw-r--r-- | searx/templates/oscar/stats.html | 9 |
1 files changed, 9 insertions, 0 deletions
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 %} |