point-tools/templates/Telegram/users_renamed_notification.md.twig

9 lines
279 B
Twig
Raw Normal View History

*Following users recently renamed themselves:*
{# @var event \App\Entity\UserRenameEvent #}
{% for event in events %}
{% set login_old = event.oldLogin %}
{% set login_new = event.user.login %}
@{{ login_old }} -> [@{{ login_new }}]({{ login_new|point_user_url }})
{% endfor %}