summaryrefslogtreecommitdiff
path: root/searx/templates
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2025-04-05 10:59:07 +0200
committerIvan Gabaldon <igabaldon@inetol.net>2025-05-13 10:37:02 +0200
commit2cfd3fc44b16e7f3c6010c0ac1004efb6dacf382 (patch)
tree2ce148316b00b38a5a8ad13d242fc5c864cb9bee /searx/templates
parent90068660196d898896219d1df7a088348c5d3d14 (diff)
[enh] tidy: clean old morty, filtron, searx references
Everyone should have already switched from legacy methods
Diffstat (limited to 'searx/templates')
-rw-r--r--searx/templates/simple/macros.html4
-rw-r--r--searx/templates/simple/result_templates/code.html2
-rw-r--r--searx/templates/simple/result_templates/default.html2
-rw-r--r--searx/templates/simple/result_templates/map.html2
-rw-r--r--searx/templates/simple/result_templates/paper.html2
-rw-r--r--searx/templates/simple/result_templates/products.html2
-rw-r--r--searx/templates/simple/result_templates/torrent.html2
-rw-r--r--searx/templates/simple/result_templates/videos.html2
8 files changed, 9 insertions, 9 deletions
diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html
index 6010a5a3d..df8469d72 100644
--- a/searx/templates/simple/macros.html
+++ b/searx/templates/simple/macros.html
@@ -44,10 +44,10 @@
{%- endmacro -%}
<!-- Draw result sub footer -->
-{%- macro result_sub_footer(result, proxify) -%}
+{%- macro result_sub_footer(result) -%}
<div class="engines">
{% for engine in result.engines %}<span>{{ engine }}</span>{% endfor %}
- {{ icon_small('ellipsis-vertical') + result_link(cache_url + result.url, _('cached'), "cache_link") }}&lrm; {% if proxify and proxify_results %} {{ result_link(proxify(result.url), _('proxied'), "proxyfied_link") }} {% endif %}
+ {{ icon_small('ellipsis-vertical') + result_link(cache_url + result.url, _('cached'), "cache_link") }}
</div>{{- '' -}}
<div class="break"></div>{{- '' -}}
{%- endmacro -%}
diff --git a/searx/templates/simple/result_templates/code.html b/searx/templates/simple/result_templates/code.html
index 7d2c8ff79..49326aed5 100644
--- a/searx/templates/simple/result_templates/code.html
+++ b/searx/templates/simple/result_templates/code.html
@@ -28,5 +28,5 @@
{{- result.codelines|code_highlighter(result.code_language)|safe -}}
</div>
-{{- result_sub_footer(result, proxify) -}}
+{{- result_sub_footer(result) -}}
{{- result_footer(result) -}}
diff --git a/searx/templates/simple/result_templates/default.html b/searx/templates/simple/result_templates/default.html
index 263c19a36..8a6329248 100644
--- a/searx/templates/simple/result_templates/default.html
+++ b/searx/templates/simple/result_templates/default.html
@@ -14,7 +14,7 @@
{{ _('This site did not provide any description.')|safe }}
</p>
{% endif -%}
-{{- result_sub_footer(result, proxify) -}}
+{{- result_sub_footer(result) -}}
{% if result.iframe_src -%}
<div id="result-media-{{ index }}" class="embedded-content invisible">
<iframe data-src="{{result.iframe_src}}" frameborder="0" allowfullscreen></iframe>
diff --git a/searx/templates/simple/result_templates/map.html b/searx/templates/simple/result_templates/map.html
index dc1f06dce..73a2701da 100644
--- a/searx/templates/simple/result_templates/map.html
+++ b/searx/templates/simple/result_templates/map.html
@@ -43,7 +43,7 @@
<small> <a class="btn-collapse collapsed searxng_init_map hide_if_nojs" data-target="#result-map-{{ index }}" data-btn-text-collapsed="{{ _('show map') }}" data-btn-text-not-collapsed="{{ _('hide map') }}" data-leaflet-target="osm-map-{{ index }}" data-map-lon="{{ result.longitude }}" data-map-lat="{{ result.latitude }}" {% if result.boundingbox %}data-map-boundingbox='{{ result.boundingbox|tojson|safe }}'{% endif %} {% if result.geojson %}data-map-geojson='{{ result.geojson|tojson|safe }}'{% endif %}>{{ icon_small( 'globe') }} {{ _('show map') }}</a></small>
{%- endif -%}
-{{- result_sub_footer(result, proxify) -}}
+{{- result_sub_footer(result) -}}
{% if (result.latitude and result.longitude) or result.boundingbox -%}
<div id="result-map-{{ index }}" class="invisible"><div id="osm-map-{{ index }}" class="osm-map-box"></div></div>
diff --git a/searx/templates/simple/result_templates/paper.html b/searx/templates/simple/result_templates/paper.html
index dd610b903..7e94cf174 100644
--- a/searx/templates/simple/result_templates/paper.html
+++ b/searx/templates/simple/result_templates/paper.html
@@ -34,5 +34,5 @@
{%- if result.html_url -%}{{ result_link(result.html_url, _('HTML')) }}{%- endif -%}
{%- if result.doi %}{{ result_link('https://www.altmetric.com/details/doi/' + result.doi, 'Altmetric') }}{% endif -%}
</p>
-{{- result_sub_footer(result, proxify) -}}
+{{- result_sub_footer(result) -}}
{{- result_footer(result) }}
diff --git a/searx/templates/simple/result_templates/products.html b/searx/templates/simple/result_templates/products.html
index ce599aef7..b5404fd8d 100644
--- a/searx/templates/simple/result_templates/products.html
+++ b/searx/templates/simple/result_templates/products.html
@@ -10,5 +10,5 @@
{{ result.content|safe }}
</p>
{% endif -%}
-{{- result_sub_footer(result, proxify) -}}
+{{- result_sub_footer(result) -}}
{{- result_footer(result) }}
diff --git a/searx/templates/simple/result_templates/torrent.html b/searx/templates/simple/result_templates/torrent.html
index 0c870ae11..27e96dca4 100644
--- a/searx/templates/simple/result_templates/torrent.html
+++ b/searx/templates/simple/result_templates/torrent.html
@@ -19,5 +19,5 @@
{%- if result.files %}{{ icon_big('file') }} <span class="badge">{{ result.files }} {{ _('Number of Files') }}</span>{%- endif -%}
</p>
{%- if result.content %}<p class="content">{{ result.content|safe }}</p>{%- endif -%}
-{{- result_sub_footer(result, proxify) -}}
+{{- result_sub_footer(result) -}}
{{- result_footer(result) -}}
diff --git a/searx/templates/simple/result_templates/videos.html b/searx/templates/simple/result_templates/videos.html
index 23d4195ca..8771cea1f 100644
--- a/searx/templates/simple/result_templates/videos.html
+++ b/searx/templates/simple/result_templates/videos.html
@@ -15,7 +15,7 @@
</p>
{% endif -%}
</p>
-{{- result_sub_footer(result, proxify) -}}
+{{- result_sub_footer(result) -}}
{% if result.iframe_src -%}
<div id="result-video-{{ index }}" class="embedded-video invisible">
<iframe data-src="{{result.iframe_src}}" frameborder="0" allowfullscreen></iframe>