From 6f9b457e7d586a381e7d5ba60f850c326ddd112b Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 6 Nov 2017 02:23:15 +0300 Subject: [PATCH] Telegram WebHook logger injection fix. --- app/Resources/views/base.html.twig | 1 - .../Bundle/PointToolsBundle/Controller/PublicFeedController.php | 2 +- .../Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Resources/views/base.html.twig b/app/Resources/views/base.html.twig index 558421a..e666066 100644 --- a/app/Resources/views/base.html.twig +++ b/app/Resources/views/base.html.twig @@ -25,7 +25,6 @@ {% block header_navbar_menus %} diff --git a/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php b/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php index 0295fb6..1096433 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Controller/PublicFeedController.php @@ -23,7 +23,7 @@ class PublicFeedController extends AbstractController 'SkobkinPointToolsBundle:Post:feed.html.twig', [ // @todo Move to translation - 'feed_title' => 'All', + 'feed_title' => 'Public feed', 'posts' => $postsPagination, // Special feed mark (to not show comments and other) 'is_feed' => true, diff --git a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig index 4f9832f..a9da234 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig +++ b/src/Skobkin/Bundle/PointToolsBundle/Resources/views/Post/feed.html.twig @@ -1,6 +1,6 @@ {% extends 'SkobkinPointToolsBundle:Post:base_feed.html.twig' %} -{% block header_title %}{{ feed_title }} @ Point Tools{% endblock %} +{% block header_title %}{{ feed_title|trans }} @ Point Tools{% endblock %} {% block content %} {% if is_feed is defined %}