mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
implement activity RSS feed
This commit is contained in:
parent
60a5593446
commit
35b84546ff
58 changed files with 834 additions and 162 deletions
|
|
@ -0,0 +1,24 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have approved sensitive edition' | trans }}
|
||||
#{{ torrent.sensitive.id }}
|
||||
{{ 'for torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
{{ torrent.name }}
|
||||
{% else %}
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.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_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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue