2017-01-05 20:17:19 +00:00
|
|
|
{# @var user \Skobkin\Bundle\PointToolsBundle\Entity\User #}
|
2017-01-05 20:27:08 +00:00
|
|
|
*Last for @{{ user.login }}:*
|
2017-01-05 20:17:19 +00:00
|
|
|
|
|
|
|
{% set subscription = constant('\\Skobkin\\Bundle\\PointToolsBundle\\Entity\\SubscriptionEvent::ACTION_SUBSCRIBE') %}
|
|
|
|
{# @var event \Skobkin\Bundle\PointToolsBundle\Entity\SubscriptionEvent #}
|
|
|
|
{% for event in events %}
|
|
|
|
{% set sub_login = event.subscriber.login %}
|
2017-01-11 18:03:32 +00:00
|
|
|
{{ event.date|date('d M y H:i') }} {% if subscription == event.action %} + {% else %} - {% endif %} [@{{ sub_login }}]({{ sub_login|point_user_url }})
|
2017-01-05 20:17:19 +00:00
|
|
|
{% endfor %}
|
|
|
|
|
2017-01-11 18:03:32 +00:00
|
|
|
See more events on [Point Tools]({{ url('user_show', {'login': user.login}) }}) site.
|