11 lines
563 B
Twig
11 lines
563 B
Twig
*Last global subscription events:*
|
|
|
|
{% set subscription = constant('\\App\\Entity\\SubscriptionEvent::ACTION_SUBSCRIBE') %}
|
|
{# @var event \App\Entity\SubscriptionEvent #}
|
|
{% for event in events %}
|
|
{% set sub_login = event.subscriber.login %}
|
|
{% set author_login = event.author.login %}
|
|
{{ event.date|date('d M H:i') }} [@{{ sub_login }}]({{ sub_login|point_user_url }}){% if subscription == event.action %} -> {% else %} X {% endif %}[@{{ author_login }}]({{ author_login|point_user_url }})
|
|
{% endfor %}
|
|
|
|
See more events on [Point Tools]({{ url('index') }}) site. |