mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-10 23:17:53 +00:00
26 lines
1.1 KiB
Twig
26 lines
1.1 KiB
Twig
<item>
|
|
<title>
|
|
{{ 'User' | trans }}
|
|
#{{ user.id }}
|
|
{{ 'have added sensitive edition' | trans }}
|
|
#{{ torrent.sensitive.id }}
|
|
{{ 'for 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 }}
|
|
{% 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_sensitive_edit', { torrentId : torrent.id, torrentSensitiveId : torrent.sensitive.id }) }}#activity-{{ id }}</guid>
|
|
<link>{{ url('torrent_sensitive_edit', { torrentId : torrent.id, torrentSensitiveId : torrent.sensitive.id }) }}#activity</link>
|
|
</item> |