mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 09:35:28 +00:00
add poster event support #18
This commit is contained in:
parent
bd5191e894
commit
706ea40eec
12 changed files with 681 additions and 14 deletions
|
|
@ -0,0 +1,26 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have approved poster edition' | trans }}
|
||||
#{{ torrent.poster.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_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_poster_edit', { torrentId : torrent.id, torrentPosterId : torrent.poster.id }) }}#activity</link>
|
||||
</item>
|
||||
Loading…
Add table
Add a link
Reference in a new issue