2022-06-20 17:00:10 +00:00
|
|
|
{% from 'simple/macros.html' import result_header, result_sub_header, result_sub_footer, result_footer, result_link with context %}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
|
|
|
{{ result_header(result, favicons, image_proxify) -}}
|
|
|
|
{{- result_sub_header(result) -}}
|
|
|
|
|
2021-11-13 09:42:07 +00:00
|
|
|
{% if result.magnetlink %}<p class="altlink"> • {{ result_link(result.magnetlink, icon_big('magnet-outline') + _('magnet link'), "magnetlink") }}</p>{% endif %}
|
|
|
|
{% if result.torrentfile %}<p class="altlink"> • {{ result_link(result.torrentfile, icon_big('download-alt') + _('torrent file'), "torrentfile") }}</p>{% endif %}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-11-13 09:42:07 +00:00
|
|
|
{% if result.seed is defined %}<p class="stat"> • {{ icon_big('arrow-swap') }} {{ _('Seeder') }} <span class="badge">{{ result.seed }}</span> • {{ _('Leecher') }} <span class="badge">{{ result.leech }}</span></p>{% endif %}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2024-06-12 20:35:13 +00:00
|
|
|
{%- if result.filesize %}<p class="stat">{{ icon_big('floppy-disk') }} {{ _('Filesize') }}<span class="badge">{{ result.filesize }}</span></p>{%- endif -%}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
2021-11-13 09:42:07 +00:00
|
|
|
{%- if result.files %}<p class="stat">{{ icon_big('file') }} {{ _('Number of Files') }} <span class="badge">{{ result.files }}</span></p>{% endif -%}
|
2017-02-12 14:06:01 +00:00
|
|
|
|
|
|
|
{%- if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif -%}
|
|
|
|
{{- result_sub_footer(result, proxify) -}}
|
|
|
|
{{- result_footer(result) }}
|