2023-10-23 21:12:13 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="column width-80">
|
2023-10-23 22:13:20 +00:00
|
|
|
{{ 'Seeders wanted for torrent' | trans }}
|
2023-10-23 21:12:13 +00:00
|
|
|
{% if session.user.moderator or session.user.owner %}
|
|
|
|
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
|
|
|
{{ torrent.name }}
|
|
|
|
</a>
|
|
|
|
{% else %}
|
2023-10-26 22:36:50 +00:00
|
|
|
{% if torrent.status == false %}
|
|
|
|
#{{ torrent.id }} ({{ 'disabled' | trans }})
|
|
|
|
{% elseif torrent.approved == false %}
|
|
|
|
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
|
|
|
{% elseif torrent.sensitive == true and session.user.sensitive == true %}
|
2023-10-23 21:12:13 +00:00
|
|
|
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
|
|
|
{{ torrent.name }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
<div class="column width-20 text-right">
|
|
|
|
{{ added | format_ago }}
|
|
|
|
</div>
|
|
|
|
</div>
|