mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-01 17:45:31 +00:00
implement activity RSS feed
This commit is contained in:
parent
60a5593446
commit
35b84546ff
58 changed files with 834 additions and 162 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'added torrent' | trans }}
|
||||
{{ 'have added torrent' | trans }}
|
||||
</span>
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
|
|
|
|||
22
templates/default/activity/event/torrent/add.rss.twig
Normal file
22
templates/default/activity/event/torrent/add.rss.twig
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have added 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_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -4,19 +4,14 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'approved torrent' | trans }}
|
||||
{{ 'have approved torrent' | trans }}
|
||||
</span>
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
{{ torrent.name }}
|
||||
</a>
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if torrent.approved == false %}
|
||||
#{{ torrent.id }} ({{ 'waiting for approve' | trans }})
|
||||
{% elseif torrent.sensitive == true %}
|
||||
{% if torrent.sensitive == true %}
|
||||
#{{ torrent.id }} ({{ 'sensitive' | trans }})
|
||||
{% else %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have approved torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
{{ torrent.name }}
|
||||
{% else %}
|
||||
{% if 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_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'disapproved torrent' | trans }}
|
||||
{{ 'have disapproved torrent' | trans }}
|
||||
</span>
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have disapproved torrent' | trans }}
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
{{ torrent.name }}
|
||||
{% else %}
|
||||
{% if 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_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-x-l-px">
|
||||
{{ 'downloaded torrent file' | trans }}
|
||||
{{ 'have downloaded torrent file' | trans }}
|
||||
</span>
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have downloaded torrent file' | 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_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'downloaded magnet link' | trans }}
|
||||
{{ 'have downloaded magnet link' | trans }}
|
||||
</span>
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have downloaded magnet link' | 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_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'added locales edition' | trans }}
|
||||
{{ 'have added locales edition' | trans }}
|
||||
</span>
|
||||
{% if torrent.locales.exist %}
|
||||
<a href="{{ path('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have added locales edition' | trans }}
|
||||
#{{ torrent.locales.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_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<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>
|
||||
{{ 'approved locales edition' | trans }}
|
||||
{{ 'have approved locales edition' | trans }}
|
||||
{% if torrent.locales.exist %}
|
||||
<a href="{{ path('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}">
|
||||
#{{ torrent.locales.id }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have approved locales edition' | trans }}
|
||||
#{{ torrent.locales.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_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'disapproved locales edition' | trans }}
|
||||
{{ 'have disapproved locales edition' | trans }}
|
||||
</span>
|
||||
{% if torrent.locales.exist %}
|
||||
<a href="{{ path('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have disapproved locales edition' | trans }}
|
||||
#{{ torrent.locales.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_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -3,9 +3,9 @@
|
|||
<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>
|
||||
{{ 'deleted locales edition' | trans }}
|
||||
{{ 'have deleted locales edition' | trans }}
|
||||
{% if torrent.locales.exist %}
|
||||
<a href="{{ path('torrent_locales_edit', { torrentId : torrent.id, torrentLocalesId : torrent.locales.id }) }}">
|
||||
<a href="{{ path('torrent_locales_edit', { torrentId : torrent.id }) }}">
|
||||
#{{ torrent.locales.id }}
|
||||
</a>
|
||||
{% else %}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have deleted locales edition' | trans }}
|
||||
#{{ torrent.locales.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_locales_edit', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_locales_edit', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<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>
|
||||
{{ 'added sensitive edition' | trans }}
|
||||
{{ 'have added sensitive edition' | trans }}
|
||||
{% if torrent.sensitive.exist %}
|
||||
<a href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id, torrentSensitiveId : torrent.sensitive.id }) }}">
|
||||
#{{ torrent.sensitive.id }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<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.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>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<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>
|
||||
{{ 'approved sensitive edition' | trans }}
|
||||
{{ 'have approved sensitive edition' | trans }}
|
||||
{% if torrent.sensitive.exist %}
|
||||
<a href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id, torrentSensitiveId : torrent.sensitive.id }) }}">
|
||||
#{{ torrent.sensitive.id }}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<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>
|
||||
{{ 'disapproved sensitive edition' | trans }}
|
||||
{{ 'have disapproved sensitive edition' | trans }}
|
||||
{% if torrent.sensitive.exist %}
|
||||
<a href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id, torrentSensitiveId : torrent.sensitive.id }) }}">
|
||||
#{{ torrent.sensitive.id }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have disapproved 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>
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
<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>
|
||||
{{ 'deleted sensitive edition' | trans }}
|
||||
{{ 'have deleted sensitive edition' | trans }}
|
||||
{% if torrent.sensitive.exist %}
|
||||
<a href="{{ path('torrent_sensitive_edit', { torrentId : torrent.id, torrentSensitiveId : torrent.sensitive.id }) }}">
|
||||
#{{ torrent.sensitive.id }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have deleted 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 }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_sensitive_edit', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'added star for torrent' | trans }}
|
||||
{{ 'have added star for torrent' | trans }}
|
||||
</span>
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
|
|
|
|||
22
templates/default/activity/event/torrent/star/add.rss.twig
Normal file
22
templates/default/activity/event/torrent/star/add.rss.twig
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have added star 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_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'removed star from torrent' | trans }}
|
||||
{{ 'have removed star from torrent' | trans }}
|
||||
</span>
|
||||
{% if session.user.moderator or session.user.owner %}
|
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have removed star from 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_info', { torrentId : torrent.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('torrent_info', { torrentId : torrent.id }) }}#activity</link>
|
||||
</item>
|
||||
7
templates/default/activity/event/undefined.rss.twig
Normal file
7
templates/default/activity/event/undefined.rss.twig
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<item>
|
||||
<title>{{ 'undefined event' | trans }} {{ 'by' | trans }} #{{ user.id }}</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ path('user_info', { userId : user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ path('user_info', { userId : user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'joined' | trans }} {{ name }}
|
||||
{{ 'have joined' | trans }} {{ name }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
|
|
|
|||
7
templates/default/activity/event/user/add.rss.twig
Normal file
7
templates/default/activity/event/user/add.rss.twig
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<item>
|
||||
<title>{{ 'User' | trans }} #{{ user.id }} {{ 'have joined' | trans }} {{ name }}</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -3,11 +3,11 @@
|
|||
<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">
|
||||
{{ 'approved by' | trans }}
|
||||
<span class="margin-x-4-px">
|
||||
{{ 'have approved' | trans }}
|
||||
</span>
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
|
|
|
|||
12
templates/default/activity/event/user/approve/add.rss.twig
Normal file
12
templates/default/activity/event/user/approve/add.rss.twig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have approved user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -3,11 +3,11 @@
|
|||
<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">
|
||||
{{ 'disapproved by' | trans }}
|
||||
<span class="margin-x-4-px">
|
||||
{{ 'have disapproved' | trans }}
|
||||
</span>
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have disapproved user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'grant moderator permissions to' | trans }}
|
||||
<span class="margin-x-4-px">
|
||||
{{ 'have granted moderator permissions to' | trans }}
|
||||
</span>
|
||||
<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 }}" />
|
||||
|
|
|
|||
12
templates/default/activity/event/user/moderator/add.rss.twig
Normal file
12
templates/default/activity/event/user/moderator/add.rss.twig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have granted moderator permissions to user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ to.user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'remove moderator permissions from' | trans }}
|
||||
</span>
|
||||
<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-x-4-px">
|
||||
{{ 'have removed moderator permissions from' | trans }}
|
||||
</span>
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
{{ added | format_ago }}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have removed moderator permissions from user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ to.user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -3,11 +3,11 @@
|
|||
<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">
|
||||
{{ 'added star for' | trans }}
|
||||
<span class="margin-x-4-px">
|
||||
{{ 'have added star for' | trans }}
|
||||
</span>
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
|
|
|
|||
12
templates/default/activity/event/user/star/add.rss.twig
Normal file
12
templates/default/activity/event/user/star/add.rss.twig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have added star for user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ to.user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -3,11 +3,11 @@
|
|||
<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">
|
||||
{{ 'removed star from' | trans }}
|
||||
<span class="margin-x-4-px">
|
||||
{{ 'have removed star from' | trans }}
|
||||
</span>
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
|
|
|
|||
12
templates/default/activity/event/user/star/delete.rss.twig
Normal file
12
templates/default/activity/event/user/star/delete.rss.twig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have removed star from user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ to.user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -1,14 +1,14 @@
|
|||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'enable user' | trans }}
|
||||
</span>
|
||||
<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-x-4-px">
|
||||
{{ 'have enabled' | trans }}
|
||||
</span>
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
{{ added | format_ago }}
|
||||
|
|
|
|||
12
templates/default/activity/event/user/status/add.rss.twig
Normal file
12
templates/default/activity/event/user/status/add.rss.twig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have enabled user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ to.user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
|
||||
<div class="row">
|
||||
<div class="column width-80">
|
||||
<a href="{{ path('user_info', { userId : by.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ by.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
<span class="margin-l-4-px">
|
||||
{{ 'diable user' | trans }}
|
||||
</span>
|
||||
<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-x-4-px">
|
||||
{{ 'have disabled' | trans }}
|
||||
</span>
|
||||
<a href="{{ path('user_info', { userId : to.user.id }) }}">
|
||||
<img class="border-radius-50 border-color-default vertical-align-middle" src="{{ to.user.identicon }}" alt="{{ 'identicon' | trans }}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="column width-20 text-right">
|
||||
{{ added | format_ago }}
|
||||
|
|
|
|||
12
templates/default/activity/event/user/status/delete.rss.twig
Normal file
12
templates/default/activity/event/user/status/delete.rss.twig
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<item>
|
||||
<title>
|
||||
{{ 'User' | trans }}
|
||||
#{{ user.id }}
|
||||
{{ 'have disabled user' | trans }}
|
||||
#{{ to.user.id }}
|
||||
</title>
|
||||
<author>#{{ to.user.id }}</author>
|
||||
<pubDate>{{ added | date('D, d M Y h:i:s O') }}</pubDate>
|
||||
<guid>{{ url('user_info', { userId : to.user.id }) }}#activity-{{ id }}</guid>
|
||||
<link>{{ url('user_info', { userId : to.user.id }) }}#activity</link>
|
||||
</item>
|
||||
Loading…
Add table
Add a link
Reference in a new issue