diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-07-21 14:27:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-21 14:27:49 +0200 |
| commit | 4f0d232a3dc95042be809d6fa6e93ca746156658 (patch) | |
| tree | 4155de82568afd651558cb91a5d59aa256577a19 /searx/templates/simple | |
| parent | 17e028e57928f7925a2d1ee1177d28ff33ff8487 (diff) | |
| parent | 19abaf272def8faee5e7d3652d95413c3256d638 (diff) | |
Merge pull request #213 from return42/drop-brand
[mod] drop searx.brand namespace
Diffstat (limited to 'searx/templates/simple')
| -rw-r--r-- | searx/templates/simple/base.html | 8 | ||||
| -rw-r--r-- | searx/templates/simple/messages/no_results.html | 2 | ||||
| -rw-r--r-- | searx/templates/simple/stats.html | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index 50cea045a..edf0eb6eb 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -51,10 +51,10 @@ <footer> <p> {{ _('Powered by') }} <a href="{{ url_for('about') }}">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 %} + <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 %} </p> </footer> <!--[if gte IE 9]>--> diff --git a/searx/templates/simple/messages/no_results.html b/searx/templates/simple/messages/no_results.html index b7f02167e..845f3e21a 100644 --- a/searx/templates/simple/messages/no_results.html +++ b/searx/templates/simple/messages/no_results.html @@ -11,7 +11,7 @@ </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="dialog-error" role="alert"> diff --git a/searx/templates/simple/stats.html b/searx/templates/simple/stats.html index 7058d04d4..f423b6861 100644 --- a/searx/templates/simple/stats.html +++ b/searx/templates/simple/stats.html @@ -1,5 +1,5 @@ {% from 'simple/macros.html' import icon %} -{% from '__common__/new_issue.html' import new_issue %} +{% from '__common__/new_issue.html' import new_issue with context %} {% extends "simple/base.html" %} @@ -147,7 +147,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> |