Ponysearch/searx/templates/oscar
Markus Heiser 3f638ed196 [mod] drop usage of the searx.brand namespace (templates & /config)
In the templates and the /config (JSON) the usage of the 'brand.*' name
space is replaced by 'searx.get_setting' function.

- new_issue_url          --> get_setting('brand.new_issue_url')
- brand.GIT_URL          --> get_setting('brand.git_url')
- brand.PUBLIC_INSTANCES --> get_setting('brand.public_instances')
- brand.DOCS_URL         --> get_setting('brand.docs_url')
- brand.ISSUE_URL        --> get_setting('brand.issue_url')
- brand.CONTACT_URL      --> get_setting('general.contact_url', '')

The macro 'new_issue' from searx/templates/*/messages/no_results.html
is now imported with context::

    {% from '__common__/new_issue.html' import new_issue with context %}

To get *public instances URL* from context's 'get_setting()' function::

    get_setting('brand.public_instances','')

Macro's prototype does no longer need the 'new_issue_url' argument and has been
changed to::

    macro new_issue(engine_name, engine_reliability)

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-07-21 13:38:28 +02:00
..
messages [mod] drop usage of the searx.brand namespace (templates & /config) 2021-07-21 13:38:28 +02:00
result_templates [fix] openstreetmap - fix some minor whitespace & indentation issues 2021-06-09 18:08:23 +02:00
404.html Drop Python 2 (2/n): templates 2020-09-10 10:39:04 +02:00
about.html [mod] add a __common__ template that can't be selected but that provides a common place for shared templates. 2017-01-20 15:40:38 +01:00
advanced.html [fix] make "Advanced settings" openable and usable with keyboard - #350 2020-06-25 19:50:26 +02:00
base.html [mod] drop usage of the searx.brand namespace (templates & /config) 2021-07-21 13:38:28 +02:00
categories.html [mod] tidy oscar HTML output 2019-12-10 10:58:30 +01:00
index.html [mod] themes: remove legacy, courgette and pix-art themes 2020-12-17 11:33:28 +01:00
infobox.html [mod] duckduckgo_definitions: display only user friendly attributes / URL 2020-10-28 08:09:25 +01:00
languages.html fix selects in preferences so they look consistent (#2150) 2020-08-27 21:55:47 +02:00
macros.html [mod] option to enable or disable "proxy" button next to each result (#54) 2021-05-04 11:57:14 +02:00
navbar.html [mod] tidy oscar HTML output 2019-12-10 10:58:30 +01:00
preferences.html [mod] oscar theme: /preferences : HTML detail order match visual tabs 2021-06-17 15:29:07 +02:00
results.html [enh] add settings option to enable/disable search formats 2021-05-28 08:32:52 +02:00
search.html [fix] fix the reset button in the oscar theme (#2306) 2020-11-30 16:30:21 +01:00
search_full.html [mod] separate index and search routes 2020-11-02 20:04:03 -07:00
stats.html [mod] drop usage of the searx.brand namespace (templates & /config) 2021-07-21 13:38:28 +02:00
time-range.html fix selects in preferences so they look consistent (#2150) 2020-08-27 21:55:47 +02:00