mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-04-02 01:55: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
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue