2015-02-17 12:45:54 +01:00
|
|
|
{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %}
|
2014-12-01 12:26:38 +01:00
|
|
|
|
2015-02-09 13:30:16 +01:00
|
|
|
{{ result_header(result, favicons) }}
|
|
|
|
{{ result_sub_header(result) }}
|
2014-12-01 12:26:38 +01:00
|
|
|
|
2015-01-13 17:13:08 +01:00
|
|
|
{% if result.embedded %}
|
2015-02-09 13:30:16 +01:00
|
|
|
<small> • <a class="text-info btn-collapse collapsed cursor-pointer media-loader disabled_if_nojs" data-toggle="collapse" data-target="#result-media-{{ index }}" data-btn-text-collapsed="{{ _('show media') }}" data-btn-text-not-collapsed="{{ _('hide media') }}">{{ icon('music') }} {{ _('show media') }}</a></small>
|
2015-01-13 17:13:08 +01:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if result.embedded %}
|
|
|
|
<div id="result-media-{{ index }}" class="collapse">
|
|
|
|
{{ result.embedded|safe }}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
|
2014-12-01 12:26:38 +01:00
|
|
|
{% if result.content %}<p class="result-content">{{ result.content|safe }}</p>{% endif %}
|
|
|
|
|
2015-02-17 12:45:54 +01:00
|
|
|
{% if rtl %}
|
|
|
|
{{ result_footer_rtl(result) }}
|
|
|
|
{% else %}
|
2015-02-09 13:30:16 +01:00
|
|
|
{{ result_footer(result) }}
|
2015-02-17 12:45:54 +01:00
|
|
|
{% endif %}
|