From e910db57dfd5cb2ada130f56f075b38d3ad8be4f Mon Sep 17 00:00:00 2001 From: obfuscated-loop <107592590+obfuscated-loop@users.noreply.github.com> Date: Mon, 25 Dec 2023 19:57:01 +0000 Subject: [PATCH] Move preferences URLs to `url_card.html` --- searx/templates/simple/preferences.html | 27 +------------------ .../simple/preferences/url_card.html | 26 ++++++++++++++++++ 2 files changed, 27 insertions(+), 26 deletions(-) create mode 100644 searx/templates/simple/preferences/url_card.html diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index 568bc54c8..fb33494f6 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -181,32 +181,7 @@ {%- include 'simple/preferences/doi_resolver.html' -%} {%- endif -%} {%- include 'simple/preferences/tokens.html' -%} -
- {{- url_for('index', _external=True) -}}?preferences={{- preferences_url_params|e -}} - {%- raw -%}&q=%s{%- endraw -%} -{{- '' -}} -
- {{- _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') -}} -
-- {{- url_for('preferences', _external=True) -}}?preferences={{- preferences_url_params|e -}} - &save=1{{- '' -}} -{{- '' -}} -
- {{- _('Specifying custom settings in the preferences URL can be used to sync preferences across devices.') -}} -
-+ {{- url_for('index', _external=True) -}}?preferences={{- preferences_url_params|e -}} + {%- raw -%}&q=%s{%- endraw -%} +{{- '' -}} +
+ {{- _('Note: specifying custom settings in the search URL can reduce privacy by leaking data to the clicked result sites.') -}} +
++ {{- url_for('preferences', _external=True) -}}?preferences={{- preferences_url_params|e -}} + &save=1{{- '' -}} +{{- '' -}} +
+ {{- _('Specifying custom settings in the preferences URL can be used to sync preferences across devices.') -}} +
+