From cc29168d8307a2bf90b8b2af159fec29a5d8be0e Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sat, 7 Jan 2017 22:20:21 +0300 Subject: [PATCH] Telegram bot user subscribers update notification template fix. --- .../Telegram/user_subscribers_updated_notification.md.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Telegram/user_subscribers_updated_notification.md.twig b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Telegram/user_subscribers_updated_notification.md.twig index c4d9a0c..7d36248 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Telegram/user_subscribers_updated_notification.md.twig +++ b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Telegram/user_subscribers_updated_notification.md.twig @@ -7,14 +7,14 @@ New subscribers: {% for subscriber in subscribed %} [@{{ subscriber.login }}]({{ subscriber.login|point_user_url(true) }}) {% endfor %} + {% endif %} {% if unsubscribed|length > 0 %} - Lost subscribers: {% for subscriber in unsubscribed %} [@{{ subscriber.login }}]({{ subscriber.login|point_user_url(true) }}) {% endfor %} -{% endif %} +{% endif %} {# @todo remove hardcoded URL #} See full subscribers history on [Point Tools](https://point.skobk.in{{ path('user_show', {'login': user.login}) }}) site. \ No newline at end of file