2021-11-05 08:36:19 +00:00
|
|
|
{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_footer_rtl with context %}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
|
|
|
{{ result_header(result, favicons, image_proxify) -}}
|
|
|
|
{{- result_sub_header(result) -}}
|
2022-02-07 20:59:21 +00:00
|
|
|
{% if result.data_src -%}
|
2017-02-12 14:06:01 +00:00
|
|
|
<p class="altlink"> • <a class="btn-collapse collapsed media-loader disabled_if_nojs" data-target="#result-media-{{ index }}" data-btn-text-collapsed="{{ _('show media') }}" data-btn-text-not-collapsed="{{ _('hide media') }}">{{ icon('music-note') }} {{ _('show media') }}</a></p>
|
|
|
|
{%- endif %}
|
2021-11-23 12:45:58 +00:00
|
|
|
{%- if result.content %}
|
|
|
|
<p class="content">
|
|
|
|
{{ result.content|safe }}
|
|
|
|
</p>
|
|
|
|
{%- else %}
|
|
|
|
<p class="content empty_element">
|
|
|
|
{{ _('This site did not provide any description.')|safe }}
|
|
|
|
</p>
|
|
|
|
{% endif -%}
|
2017-02-12 14:06:01 +00:00
|
|
|
{{- result_sub_footer(result, proxify) -}}
|
2022-02-07 20:59:21 +00:00
|
|
|
{% if result.data_src -%}
|
|
|
|
<div id="result-media-{{ index }}" class="embedded-content invisible">
|
|
|
|
<iframe data-src="{{result.data_src}}" frameborder="0" allowfullscreen></iframe>
|
|
|
|
</div>
|
|
|
|
{%- endif %}
|
|
|
|
{% if result.audio_src -%}
|
|
|
|
<div id="result-media-{{ index }}" class="audio-control">
|
|
|
|
<audio controls><source src="{{result.audio_src}}"></audio>
|
2017-02-12 14:06:01 +00:00
|
|
|
</div>
|
|
|
|
{%- endif %}
|
|
|
|
{{- result_footer(result) }}
|