{% from 'oscar/macros.html' import icon %}
{{ icon('transfer') }} {{ _('Seeder') }} {{ result.seed }} • {{ _('Leecher') }} {{ result.leech }} {% if result.filesize %}{{ icon('floppy-disk') }} {{ _('Filesize') }} {% if result.filesize < 1024 %}{{ result.filesize }} Byte {% elif result.filesize < 1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024) }} kb {% elif result.filesize < 1024*1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024/1024) }} MB {% elif result.filesize < 1024*1024*1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024/1024/1024) }} GB{% endif %} {% endif %} {% if result.files %}{{ icon('file') }} {{ _('Number of Files') }} {{ result.files }}{% endif %}
{{ icon('magnet') }} magnet link {% if result.torrentfile %}{{ icon('download-alt') }} torrent file{% endif %}
{% if result.content %}{{ result.content|safe }}
{% endif %} {{ result.engine }}{{ result.pretty_url }}