summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarIT.de>2021-09-12 09:11:12 +0000
committerGitHub <noreply@github.com>2021-09-12 09:11:12 +0000
commitc3473480f4255a81d83ac48201e0702778398d23 (patch)
tree715a4a091b687308f92b7c7c295364c2fac749d8 /searx
parentecd6ca86d0ebe6a41902e8c980de46c5d0600eb6 (diff)
parent644ccf16becaf8b598663e9a042aa3d1c4c36c77 (diff)
downloadsearxng-c3473480f4255a81d83ac48201e0702778398d23.tar.gz
searxng-c3473480f4255a81d83ac48201e0702778398d23.zip
Merge pull request #314 from MrPaulBlack/engine-stats-link
Engine stats link
Diffstat (limited to 'searx')
-rw-r--r--searx/templates/oscar/base.html1
-rw-r--r--searx/templates/oscar/stats.html2
-rw-r--r--searx/templates/simple/base.html1
-rw-r--r--searx/templates/simple/stats.html2
4 files changed, 4 insertions, 2 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html
index 7cd38a25c..df06763fa 100644
--- a/searx/templates/oscar/base.html
+++ b/searx/templates/oscar/base.html
@@ -85,6 +85,7 @@
{{ _('Powered by') }} <a href="{{ get_setting('brand.docs_url') }}">SearXNG</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
+ <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a> |
<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>{% if get_setting('general.contact_url') %} |
<a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
</small>
diff --git a/searx/templates/oscar/stats.html b/searx/templates/oscar/stats.html
index 4be8043ff..646cb9923 100644
--- a/searx/templates/oscar/stats.html
+++ b/searx/templates/oscar/stats.html
@@ -15,7 +15,7 @@
{% block content %}
<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="col-xs-12 col-sm-12 col-md-12">
<div class="table-responsive">
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html
index 7020de756..27c4b5a4c 100644
--- a/searx/templates/simple/base.html
+++ b/searx/templates/simple/base.html
@@ -53,6 +53,7 @@
{{ _('Powered by') }} <a href="{{ url_for('about') }}">searxng</a> - {{ searx_version }} — {{ _('a privacy-respecting, hackable metasearch engine') }}<br/>
<a href="{{ searx_git_url }}">{{ _('Source code') }}</a> |
<a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</a> |
+ <a href="{{ url_for('stats') }}">{{ _('Engine stats') }}</a> |
<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>{% if get_setting('general.contact_url') %} |
<a href="{{ get_setting('general.contact_url') }}">{{ _('Contact instance maintainer') }}</a>{% endif %}
</p>
diff --git a/searx/templates/simple/stats.html b/searx/templates/simple/stats.html
index f423b6861..889b5d05a 100644
--- a/searx/templates/simple/stats.html
+++ b/searx/templates/simple/stats.html
@@ -18,7 +18,7 @@
<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') %}
{{ _('There is currently no data available. ') }}