implement activity RSS feed

This commit is contained in:
ghost 2023-10-13 23:06:20 +03:00
parent 60a5593446
commit 35b84546ff
58 changed files with 834 additions and 162 deletions

View file

@ -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 }) }}">

View 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>

View file

@ -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 }) }}">

View file

@ -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>

View file

@ -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 }) }}">

View file

@ -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>

View file

@ -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 }) }}">

View file

@ -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>

View file

@ -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 }) }}">

View file

@ -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>

View file

@ -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 }) }}">

View file

@ -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>

View file

@ -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 }}

View file

@ -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>

View file

@ -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 }) }}">

View file

@ -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>

View file

@ -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 %}

View file

@ -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>

View file

@ -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 }}

View file

@ -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>

View file

@ -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 }}

View file

@ -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>

View file

@ -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 }}

View file

@ -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>

View file

@ -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 }}

View file

@ -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>

View file

@ -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 }) }}">

View 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>

View file

@ -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 }) }}">

View file

@ -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>

View 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>

View file

@ -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">

View 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>

View file

@ -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">

View 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>

View file

@ -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">

View file

@ -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>

View file

@ -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 }}" />

View 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>

View file

@ -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 }}

View file

@ -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>

View file

@ -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">

View 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>

View file

@ -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">

View 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>

View file

@ -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 }}

View 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>

View file

@ -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 }}

View 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>