mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-10 06:57:52 +00:00
24 lines
992 B
Twig
24 lines
992 B
Twig
<item>
|
|
<title>
|
|
{{ 'User' | trans }}
|
|
#{{ user.id }}
|
|
{{ 'have added torrent' | trans }}
|
|
{% if session.user.moderator or session.user.owner %}
|
|
{{ torrent.name }}
|
|
{% 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 %}
|
|
{{ torrent.name }}
|
|
{% endif %}
|
|
{% endif %}
|
|
</title>
|
|
<author>#{{ user.id }}</author>
|
|
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
|
<guid>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
|
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
|
</item> |