diff options
Diffstat (limited to 'searx/templates/oscar')
-rw-r--r-- | searx/templates/oscar/base.html | 10 | ||||
-rw-r--r-- | searx/templates/oscar/messages/no_results.html | 2 | ||||
-rw-r--r-- | searx/templates/oscar/stats.html | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/searx/templates/oscar/base.html b/searx/templates/oscar/base.html index b85f69fa9..cc716e62b 100644 --- a/searx/templates/oscar/base.html +++ b/searx/templates/oscar/base.html @@ -82,11 +82,11 @@ {% endblock %} <p class="text-muted"> <small> - {{ _('Powered by') }} <a href="{{ brand.DOCS_URL }}">searxng</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/> - <a href="{{ brand.GIT_URL }}">{{ _('Source code') }}</a> | - <a href="{{ brand.ISSUE_URL }}">{{ _('Issue tracker') }}</a> | - <a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>{% if brand.CONTACT_URL %} | - <a href="{{ brand.CONTACT_URL }}">{{ _('Contact instance maintainer') }}</a>{% endif %} + {{ _('Powered by') }} <a href="{{ get_setting('brand.docs_url') }}">SearXNG</a> - {{ searx_version }} - {{ _('a privacy-respecting, hackable metasearch engine') }}<br/> + <a href="{{ get_setting('brand.git_url') }}">{{ _('Source code') }}</a> | + <a href="{{ get_setting('brand.issue_url') }}">{{ _('Issue tracker') }}</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> </p> </div> diff --git a/searx/templates/oscar/messages/no_results.html b/searx/templates/oscar/messages/no_results.html index 7ad6423c5..fe8e39d33 100644 --- a/searx/templates/oscar/messages/no_results.html +++ b/searx/templates/oscar/messages/no_results.html @@ -10,7 +10,7 @@ </a> ){{- '' -}} </p> {%- endfor -%} - <p><small>{{ _('Please, try again later or find another searx instance.') }} (<a href="{{ brand.PUBLIC_INSTANCES }}">{{ _('Public instances') }}</a>)</small></p> + <p><small>{{ _('Please, try again later or find another searx instance.') }} (<a href="{{ get_setting('brand.public_instances') }}">{{ _('Public instances') }}</a>)</small></p> </div> {% else %} <div class="alert alert-info fade in" role="alert"> diff --git a/searx/templates/oscar/stats.html b/searx/templates/oscar/stats.html index d9b2ab68e..4be8043ff 100644 --- a/searx/templates/oscar/stats.html +++ b/searx/templates/oscar/stats.html @@ -1,5 +1,5 @@ {% extends 'oscar/base.html' %} -{% from '__common__/new_issue.html' import new_issue %} +{% from '__common__/new_issue.html' import new_issue with context %} {% block title %}{{ _('stats') }} - {% if selected_engine_name %} {{ selected_engine_name }} - {% endif %}{% endblock %} @@ -148,7 +148,7 @@ {% endfor %} </table> {% endif %} - {{ new_issue(brand.NEW_ISSUE_URL, selected_engine_name, engine_reliabilities[selected_engine_name]) }} + {{ new_issue(selected_engine_name, engine_reliabilities[selected_engine_name]) }} {% endif %} </div> </div> |