phpcomposeryggdrasiljs-lessbittorrentsymfonysphinxalt-webwikidistributedsocial-networkcatalogtorrentmagnetfederatedsqlitetracker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.3 KiB
30 lines
1.3 KiB
1 year ago
|
<div class="row">
|
||
|
<div class="column width-80">
|
||
|
<a href="{{ path('user_info', { userId : user.id }) }}">
|
||
|
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||
|
</a>
|
||
|
<span class="margin-l-4-px">
|
||
|
{{ 'have enabled torrent' | trans }}
|
||
|
</span>
|
||
|
{% if session.user.moderator or session.user.owner %}
|
||
|
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||
|
{{ torrent.name }}
|
||
|
</a>
|
||
|
{% else %}
|
||
|
{% 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 %}
|
||
|
#{{ 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>
|