diff options
| author | Markus Heiser <markus.heiser@darmarIT.de> | 2020-06-29 06:14:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-29 06:14:42 +0000 |
| commit | bdd24a6e7100d6df44400ca792b0468e4993a317 (patch) | |
| tree | 0a42e07e87a0cf27f5b47cc644763aa68e27205b /searx/templates/oscar/result_templates/map.html | |
| parent | c9795ad01f62babd282074d1d6e836b3e66ad564 (diff) | |
| parent | e39ad892de49b93d39df893f3b134387b3a933b2 (diff) | |
Merge branch 'master' into blog-dev-in-lxc
Diffstat (limited to 'searx/templates/oscar/result_templates/map.html')
| -rw-r--r-- | searx/templates/oscar/result_templates/map.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/oscar/result_templates/map.html b/searx/templates/oscar/result_templates/map.html index 712375d7f..be34d65d0 100644 --- a/searx/templates/oscar/result_templates/map.html +++ b/searx/templates/oscar/result_templates/map.html @@ -1,7 +1,7 @@ {% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %} -{{ result_header(result, favicons) }} -{{ result_sub_header(result) }} +{{ result_header(result, favicons, loop.index) }} +{{ result_sub_header(result, loop.index) }} {% if (result.latitude and result.longitude) or result.boundingbox %} <small> • <a class="text-info btn-collapse collapsed searx_init_map cursor-pointer disabled_if_nojs" data-toggle="collapse" data-target="#result-map-{{ index }}" 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 %} data-btn-text-collapsed="{{ _('show map') }}" data-btn-text-not-collapsed="{{ _('hide map') }}">{{ icon('globe') }} {{ _('show map') }}</a></small> @@ -66,7 +66,7 @@ {% endif %} {% if rtl %} -{{ result_footer_rtl(result) }} +{{ result_footer_rtl(result, loop.index) }} {% else %} -{{ result_footer(result) }} +{{ result_footer(result, loop.index) }} {% endif %} |