Telegram WebHook logger injection fix.

This commit is contained in:
Alexey Skobkin 2017-11-06 02:23:15 +03:00
parent 47e5e3d8c5
commit 6f9b457e7d
3 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,6 @@
{% block header_navbar_menus %}
<ul class="nav navbar-nav">
<li><a href="{{ path('index') }}"><span class="glyphicon glyphicon-home"></span> {{ 'Main'|trans }}</a></li>
<li><a href="{{ path('feed_public') }}"><span class="glyphicon glyphicon-bullhorn"></span> {{ 'Public feed'|trans }}</a></li>
<li><a href="{{ path('statistics') }}"><span class="glyphicon glyphicon-stats"></span> {{ 'Statistics'|trans }}</a></li>
<li><a href="{{ path('events_last') }}"><span class="glyphicon glyphicon-th-list"></span> {{ 'Last'|trans }}</a></li>
</ul>

View File

@ -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,

View File

@ -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 %}