ghost
1 year ago
28 changed files with 1514 additions and 37 deletions
@ -0,0 +1,39 @@
@@ -0,0 +1,39 @@
|
||||
<div class="row"> |
||||
<div class="column width-80"> |
||||
<a class="margin-r-4-px" 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> |
||||
{{ 'have added categories edition' | trans }} |
||||
{% if torrent.categories.exist %} |
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}"> |
||||
#{{ torrent.categories.id }} |
||||
</a> |
||||
{% else %} |
||||
#{{ torrent.categories.id }} |
||||
{% endif %} |
||||
{{ 'for torrent' | trans }} |
||||
{% 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.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 }} ({{ 'sensitive' | trans }}) |
||||
{% else %} |
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}"> |
||||
{{ torrent.name }} |
||||
</a> |
||||
{% endif %} |
||||
{% endif %} |
||||
</div> |
||||
<div class="column width-20 text-right"> |
||||
{{ added | format_ago }} |
||||
</div> |
||||
</div> |
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
<item> |
||||
<title> |
||||
{{ 'User' | trans }} |
||||
#{{ user.id }} |
||||
{{ 'have added categories edition' | trans }} |
||||
#{{ torrent.categories.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 }} ({{ '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_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid> |
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link> |
||||
</item> |
@ -0,0 +1,39 @@
@@ -0,0 +1,39 @@
|
||||
<div class="row"> |
||||
<div class="column width-80"> |
||||
<a class="margin-r-4-px" 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> |
||||
{{ 'have approved categories edition' | trans }} |
||||
{% if torrent.categories.exist %} |
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}"> |
||||
#{{ torrent.categories.id }} |
||||
</a> |
||||
{% else %} |
||||
#{{ torrent.categories.id }} |
||||
{% endif %} |
||||
{{ 'for torrent' | trans }} |
||||
{% 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.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 }} ({{ 'sensitive' | trans }}) |
||||
{% else %} |
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}"> |
||||
{{ torrent.name }} |
||||
</a> |
||||
{% endif %} |
||||
{% endif %} |
||||
</div> |
||||
<div class="column width-20 text-right"> |
||||
{{ added | format_ago }} |
||||
</div> |
||||
</div> |
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
<item> |
||||
<title> |
||||
{{ 'User' | trans }} |
||||
#{{ user.id }} |
||||
{{ 'have approved categories edition' | trans }} |
||||
#{{ torrent.categories.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 }} ({{ '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_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid> |
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link> |
||||
</item> |
@ -0,0 +1,41 @@
@@ -0,0 +1,41 @@
|
||||
<div class="row"> |
||||
<div class="column width-80"> |
||||
<a class="margin-r-4-px" 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"> |
||||
{{ 'have disapproved categories edition' | trans }} |
||||
</span> |
||||
{% if torrent.categories.exist %} |
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}"> |
||||
#{{ torrent.categories.id }} |
||||
</a> |
||||
{% else %} |
||||
#{{ torrent.categories.id }} |
||||
{% endif %} |
||||
{{ 'for torrent' | trans }} |
||||
{% 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.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 }} ({{ 'sensitive' | trans }}) |
||||
{% else %} |
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}"> |
||||
{{ torrent.name }} |
||||
</a> |
||||
{% endif %} |
||||
{% endif %} |
||||
</div> |
||||
<div class="column width-20 text-right"> |
||||
{{ added | format_ago }} |
||||
</div> |
||||
</div> |
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
<item> |
||||
<title> |
||||
{{ 'User' | trans }} |
||||
#{{ user.id }} |
||||
{{ 'have disapproved categories edition' | trans }} |
||||
#{{ torrent.categories.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 }} ({{ '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_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity-{{ id }}</guid> |
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id, torrentCategoriesId : torrent.categories.id }) }}#activity</link> |
||||
</item> |
@ -0,0 +1,39 @@
@@ -0,0 +1,39 @@
|
||||
<div class="row"> |
||||
<div class="column width-80"> |
||||
<a class="margin-r-4-px" 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> |
||||
{{ 'have deleted categories edition' | trans }} |
||||
{% if torrent.categories.exist %} |
||||
<a href="{{ path('torrent_categories_edit', { torrentId : torrent.id }) }}"> |
||||
#{{ torrent.categories.id }} |
||||
</a> |
||||
{% else %} |
||||
#{{ torrent.categories.id }} |
||||
{% endif %} |
||||
{{ 'for torrent' | trans }} |
||||
{% 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.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 }} ({{ 'sensitive' | trans }}) |
||||
{% else %} |
||||
<a href="{{ path('torrent_info', { torrentId : torrent.id }) }}"> |
||||
{{ torrent.name }} |
||||
</a> |
||||
{% endif %} |
||||
{% endif %} |
||||
</div> |
||||
<div class="column width-20 text-right"> |
||||
{{ added | format_ago }} |
||||
</div> |
||||
</div> |
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
<item> |
||||
<title> |
||||
{{ 'User' | trans }} |
||||
#{{ user.id }} |
||||
{{ 'have deleted categories edition' | trans }} |
||||
#{{ torrent.categories.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 }} ({{ '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_categories_edit', { torrentId : torrent.id }) }}#activity-{{ id }}</guid> |
||||
<link>{{ url('torrent_categories_edit', { torrentId : torrent.id }) }}#activity</link> |
||||
</item> |
Loading…
Reference in new issue