2022-06-20 19:00:10 +02:00
|
|
|
{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer with context %}
|
2017-02-12 15:06:01 +01:00
|
|
|
|
|
|
|
{{ result_header(result, favicons, image_proxify) }}
|
|
|
|
{{ result_sub_header(result) }}
|
2022-02-13 16:12:46 +01:00
|
|
|
{% if result.iframe_src -%}
|
2022-02-08 17:45:18 +01:00
|
|
|
<p class="altlink"> <a class="btn-collapse collapsed media-loader disabled_if_nojs" data-target="#result-video-{{ index }}" data-btn-text-collapsed="{{ _('show video') }}" data-btn-text-not-collapsed="{{ _('hide video') }}">{{ icon('film-outline') }} {{ _('show video') }}</a></p>
|
2017-02-12 15:06:01 +01:00
|
|
|
{%- endif %}
|
2021-11-23 13:45:58 +01:00
|
|
|
{%- if result.content %}
|
|
|
|
<p class="content">
|
|
|
|
{{ result.content|safe }}
|
|
|
|
</p>
|
|
|
|
{%- else %}
|
2021-11-23 18:59:50 +01:00
|
|
|
<p class="content empty_element">
|
2021-11-23 13:45:58 +01:00
|
|
|
{{ _('This site did not provide any description.')|safe }}
|
|
|
|
</p>
|
|
|
|
{% endif -%}
|
2021-11-22 00:32:04 +01:00
|
|
|
</p>
|
2017-02-12 15:06:01 +01:00
|
|
|
{{- result_sub_footer(result, proxify) -}}
|
2022-02-13 16:12:46 +01:00
|
|
|
{% if result.iframe_src -%}
|
2022-02-07 16:16:57 +01:00
|
|
|
<div id="result-video-{{ index }}" class="embedded-video invisible">
|
2022-02-13 16:12:46 +01:00
|
|
|
<iframe data-src="{{result.iframe_src}}" frameborder="0" allowfullscreen></iframe>
|
2017-02-12 15:06:01 +01:00
|
|
|
</div>
|
|
|
|
{%- endif %}
|
|
|
|
{{ result_footer(result) }}
|