[theme] make engine stats clickable

This commit is contained in:
MrPaulBlack 2021-09-12 10:52:15 +02:00
parent 48d4296caa
commit 644ccf16be
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
{% block content %} {% block content %}
<div class="container-fluid"> <div class="container-fluid">
<h1>{{ _('Engine stats') }}{% if selected_engine_name %} - {{ selected_engine_name }}{% endif %}</h1> <h1>{% if selected_engine_name %}<a href="{{ url_for('stats') }}">{% endif %}{{ _('Engine stats') }}{% if selected_engine_name %}</a> - {{ selected_engine_name }}{% endif %}</h1>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-12"> <div class="col-xs-12 col-sm-12 col-md-12">
<div class="table-responsive"> <div class="table-responsive">

View file

@ -18,7 +18,7 @@
<a href="{{ url_for('index') }}"><h1><span>searx</span></h1></a> <a href="{{ url_for('index') }}"><h1><span>searx</span></h1></a>
<h2>{{ _('Engine stats') }}{% if selected_engine_name %} - {{ selected_engine_name }}{% endif %}</h2> <h2>{% if selected_engine_name %}<a href="{{ url_for('stats') }}">{% endif %}{{ _('Engine stats') }}{% if selected_engine_name %}</a> - {{ selected_engine_name }}{% endif %}</h2>
{% if not engine_stats.get('time') %} {% if not engine_stats.get('time') %}
{{ _('There is currently no data available. ') }} {{ _('There is currently no data available. ') }}