<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* @Web/Common/_user-icon-menu.html.twig */
class __TwigTemplate_5e5387f506219563a8960e114e2c31580e4adffe2f48ae4b0a0f7594527c591f extends \Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Common/_user-icon-menu.html.twig"));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Common/_user-icon-menu.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Web/Common/_user-icon-menu.html.twig"));
// line 8
echo "<ul class=\"list-inline list-user-menu js-list-user-menu pull-right\" data-user-menu>
\t";
// line 10
echo "\t";
// line 11
echo "\t<li class=\"setting-item user-menu-item-mobile user-menu-item\">
\t\t";
// line 13
echo "\t\t";
if (twig_get_attribute($this->env, $this->source, ($context["user"] ?? null), "alias", [], "any", true, true, false, 13)) {
// line 14
echo "\t\t\t<a class=\"navbar-toggle-reg collapsed m-l-n\"
\t\t\t role=\"button\"
\t\t\t data-toggle=\"collapse\"
\t\t\t href=\"#collapseRegTop\"
\t\t\t aria-expanded=\"false\"
\t\t\t>
\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t</a>
\t\t";
} else {
// line 23
echo "\t\t\t<a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_login");
echo "\">
\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t</a>
\t\t";
}
// line 27
echo "\t\t";
// line 29
echo "\t\t";
$this->loadTemplate("@Web/Common/dropdown-user-menu.html.twig", "@Web/Common/_user-icon-menu.html.twig", 29)->display($context);
// line 30
echo "\t</li>
\t";
// line 33
echo "\t";
$context["isRTWidget"] = $this->extensions['WebBundle\Twig\AppExtension']->useRTWidget();
// line 34
echo "\t";
$context["unreadCount"] = 0;
// line 35
echo "\t";
if ( !(isset($context["isRTWidget"]) || array_key_exists("isRTWidget", $context) ? $context["isRTWidget"] : (function () { throw new RuntimeError('Variable "isRTWidget" does not exist.', 35, $this->source); })())) {
// line 36
echo "\t\t";
$context["unreadCount"] = $this->extensions['WebBundle\Twig\AppExtension']->getUnreadCount();
// line 37
echo "\t";
}
// line 38
echo " <!-- [debug] Initial unread count: ";
echo twig_escape_filter($this->env, (isset($context["unreadCount"]) || array_key_exists("unreadCount", $context) ? $context["unreadCount"] : (function () { throw new RuntimeError('Variable "unreadCount" does not exist.', 38, $this->source); })()), "html", null, true);
echo " -->
";
// line 39
if (true) {
echo " ";
// line 40
echo " <li class=\"user-menu-item order-discus js-first-visit-discuss\"
data-url=\"send/client/msg\"
data-id-client=\"client_id\"
data-close-url=\"";
// line 43
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_cookie_close_hello_message");
echo "\"
data-hover-item
>
<a class=\"order-discus help-tooltip js-chat-button-link\"
\t\t\t\tid=\"chat-widget-btn\"
\t\t\t\t";
// line 48
if ( !(isset($context["isRTWidget"]) || array_key_exists("isRTWidget", $context) ? $context["isRTWidget"] : (function () { throw new RuntimeError('Variable "isRTWidget" does not exist.', 48, $this->source); })())) {
// line 49
echo "\t\t\t\t\ttarget=\"_blank\"
\t\t\t\t\thref=\"";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_chatb_chatbpage");
echo "\"
\t\t\t\t";
}
// line 52
echo " >
";
// line 53
$this->loadTemplate("@Web/SVGIconsCode/chat.html.twig", "@Web/Common/_user-icon-menu.html.twig", 53)->display(twig_array_merge($context, ["unreadAll" => (isset($context["unreadCount"]) || array_key_exists("unreadCount", $context) ? $context["unreadCount"] : (function () { throw new RuntimeError('Variable "unreadCount" does not exist.', 53, $this->source); })())]));
// line 54
echo " </a>
<div class=\"order-discus-block popup-block\"
data-no-new-messages-tooltip-text=\"";
// line 56
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contacts.live_chat"), "html", null, true);
echo "\"
data-new-messages-tooltip-text=\"";
// line 57
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("chat_unread_messages"), "html", null, true);
echo "\"
>
";
// line 59
if (( !(isset($context["isRTWidget"]) || array_key_exists("isRTWidget", $context) ? $context["isRTWidget"] : (function () { throw new RuntimeError('Variable "isRTWidget" does not exist.', 59, $this->source); })()) && ((isset($context["unreadCount"]) || array_key_exists("unreadCount", $context) ? $context["unreadCount"] : (function () { throw new RuntimeError('Variable "unreadCount" does not exist.', 59, $this->source); })()) > 0))) {
// line 60
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("chat_unread_messages"), "html", null, true);
if (((isset($context["unreadCount"]) || array_key_exists("unreadCount", $context) ? $context["unreadCount"] : (function () { throw new RuntimeError('Variable "unreadCount" does not exist.', 60, $this->source); })()) > 99)) {
echo ": ";
echo twig_escape_filter($this->env, (isset($context["unreadCount"]) || array_key_exists("unreadCount", $context) ? $context["unreadCount"] : (function () { throw new RuntimeError('Variable "unreadCount" does not exist.', 60, $this->source); })()), "html", null, true);
}
// line 61
echo " ";
} else {
// line 62
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("contacts.live_chat"), "html", null, true);
echo "
";
}
// line 64
echo " </div>
</li>
";
}
// line 67
echo "
\t";
// line 69
echo "\t<li class=\"watch-menu user-menu-item hidden-xs\" data-hover-item>
\t\t<meta name=\"urlSetHistory\" content=\"";
// line 70
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_visit_save");
echo "\" property=\"\" />
\t\t<a class=\"watch help-tooltip";
// line 71
if (((isset($context["visitedAll"]) || array_key_exists("visitedAll", $context) ? $context["visitedAll"] : (function () { throw new RuntimeError('Variable "visitedAll" does not exist.', 71, $this->source); })()) > 0)) {
echo " active";
}
echo "\"
\t\t\thref=\"";
// line 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("visit");
echo "\">
\t\t\t<i class=\"watch-added-to-project\">
\t\t\t\t";
// line 74
$this->loadTemplate("@Web/SVGIconsCode/history_active.html.twig", "@Web/Common/_user-icon-menu.html.twig", 74)->display($context);
// line 75
echo "\t\t\t</i>
\t\t\t<i class=\"watch-not-added-to-project\">
\t\t\t\t";
// line 77
$this->loadTemplate("@Web/SVGIconsCode/history_default.html.twig", "@Web/Common/_user-icon-menu.html.twig", 77)->display($context);
// line 78
echo "\t\t\t</i>
\t\t\t<span class=\"user-history-pages-count val\" data-count=\"";
// line 79
echo twig_escape_filter($this->env, (isset($context["visitedAll"]) || array_key_exists("visitedAll", $context) ? $context["visitedAll"] : (function () { throw new RuntimeError('Variable "visitedAll" does not exist.', 79, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (isset($context["visitedAll"]) || array_key_exists("visitedAll", $context) ? $context["visitedAll"] : (function () { throw new RuntimeError('Variable "visitedAll" does not exist.', 79, $this->source); })()), "html", null, true);
echo "</span>
\t\t</a>
\t\t<div class=\"watch-block popup-block popup-block-last-visits isEmptyList\">
\t\t\t<div class='block-header'>
\t\t\t\t<h5>
\t\t\t\t\t<span class=\"title\">";
// line 84
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_history"), "html", null, true);
echo "</span>
\t\t\t\t\t<a href=\"";
// line 85
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("visit");
echo "\">
\t\t\t\t\t\t(<span class=\"watch-count user-history-pages-count\">";
// line 86
echo twig_escape_filter($this->env, (isset($context["visitedAll"]) || array_key_exists("visitedAll", $context) ? $context["visitedAll"] : (function () { throw new RuntimeError('Variable "visitedAll" does not exist.', 86, $this->source); })()), "html", null, true);
echo "</span>)
\t\t\t\t\t</a>
\t\t\t\t</h5>
\t\t\t</div>
\t\t\t<div class=\"block-watch-content\"
\t\t\t\t data-action=\"";
// line 91
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_visit_last");
echo "\"
\t\t\t\t role=\"insert-list\"
\t\t\t\t data-list-load=\"false\"
\t\t\t>
\t\t\t\t";
// line 96
echo "\t\t\t</div>
\t\t</div>
\t</li>
\t";
// line 101
echo "\t";
// line 103
echo "\t<li class=\"idea-menu user-menu-item\" data-hover-item data-type-project=\"idea\">
\t\t<a class=\"star idea-iorder help-tooltipnformer";
// line 104
if (((isset($context["ideas"]) || array_key_exists("ideas", $context) ? $context["ideas"] : (function () { throw new RuntimeError('Variable "ideas" does not exist.', 104, $this->source); })()) > 0)) {
echo " active";
}
echo "\"
\t\t ";
// line 106
echo "\t\t href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_ideas");
echo "\"
\t\t>
\t\t\t<i class=\"idea-added-to-project\" id=\"logic_ideasInProjectIcon\">
\t\t\t\t";
// line 109
$this->loadTemplate("@Web/SVGIconsCode/idea-added-top.html.twig", "@Web/Common/_user-icon-menu.html.twig", 109)->display($context);
// line 110
echo "\t\t\t</i>
\t\t\t<i class=\"idea-not-added-to-project\" id=\"logic_noIdeasInProjectIcon\">
\t\t\t\t";
// line 112
$this->loadTemplate("@Web/SVGIconsCode/idea-no-added-top.html.twig", "@Web/Common/_user-icon-menu.html.twig", 112)->display($context);
// line 113
echo "\t\t\t</i>
\t\t\t<span class=\"val ideas_count\" id=\"logic_orderIdeasCount\" data-change-count=\"";
// line 114
echo twig_escape_filter($this->env, (isset($context["ideas"]) || array_key_exists("ideas", $context) ? $context["ideas"] : (function () { throw new RuntimeError('Variable "ideas" does not exist.', 114, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (isset($context["ideas"]) || array_key_exists("ideas", $context) ? $context["ideas"] : (function () { throw new RuntimeError('Variable "ideas" does not exist.', 114, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t";
// line 117
echo "\t\t\t<div data-idea-add-block>
\t\t\t\t<div class=\"icon-idea\">
\t\t\t\t\t<div class=\"sprite-idea-added\"></div>
\t\t\t\t</div>
\t\t\t\t<div class=\"txt-idea js-txt\" data-add=\"";
// line 121
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_Interior_added_to"), "html", null, true);
echo "\"
\t\t\t\t\t data-del=\"";
// line 122
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_storage_ideas_del"), "html", null, true);
echo "\"
\t\t\t\t\t data-move=\"";
// line 123
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_storage_ideas_move"), "html", null, true);
echo "\"
\t\t\t\t></div>
\t\t\t\t<div class=\"arrow-add\"></div>
\t\t\t\t<div class=\"arrow-add-bg\"></div>
\t\t\t</div>
\t\t</a>
\t\t<div class=\"";
// line 129
if ( !twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 129, $this->source); })()), "user", [], "any", false, false, false, 129)) {
echo "hidden";
}
echo "\">
\t\t\t";
// line 130
if ( !twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 130, $this->source); })()), "user", [], "any", false, false, false, 130)) {
// line 131
echo "\t\t\t\t";
$this->loadTemplate("@Web/Common/_no-login-alert.html.twig", "@Web/Common/_user-icon-menu.html.twig", 131)->display(twig_array_merge($context, ["class" => "no-login-block js-no-login-idea", "withAttentionHeader" => false, "projectType" => "idea"]));
// line 138
echo "\t\t\t";
}
// line 139
echo "\t\t</div>
\t\t<div class=\"idea-block hidden-xs popup-block isEmptyList\">
\t\t\t<div class='block-header'>
\t\t\t\t<h5>
\t\t\t\t\t<span class=\"title\">";
// line 143
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("idea_header_list"), "html", null, true);
echo "</span>
\t\t\t\t\t<span>( </span>
\t\t\t\t\t<a class=\"count-ideas\" href=\"#\" data-change-count=";
// line 145
echo twig_escape_filter($this->env, (isset($context["ideas"]) || array_key_exists("ideas", $context) ? $context["ideas"] : (function () { throw new RuntimeError('Variable "ideas" does not exist.', 145, $this->source); })()), "html", null, true);
echo " data-count=\"";
echo twig_escape_filter($this->env, (isset($context["ideas"]) || array_key_exists("ideas", $context) ? $context["ideas"] : (function () { throw new RuntimeError('Variable "ideas" does not exist.', 145, $this->source); })()), "html", null, true);
echo "\"> ";
echo twig_escape_filter($this->env, (isset($context["ideas"]) || array_key_exists("ideas", $context) ? $context["ideas"] : (function () { throw new RuntimeError('Variable "ideas" does not exist.', 145, $this->source); })()), "html", null, true);
echo " </a>
\t\t\t\t\t<span> ";
// line 146
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['WebBundle\Twig\AppExtension']->getCase((isset($context["ideas"]) || array_key_exists("ideas", $context) ? $context["ideas"] : (function () { throw new RuntimeError('Variable "ideas" does not exist.', 146, $this->source); })()), [0 => "collection_interior", 1 => "collection_interiors", 2 => "collection_interiors"])), "html", null, true);
echo " </span>
\t\t\t\t\t<span> )</span>
\t\t\t\t</h5>
\t\t\t\t";
// line 150
echo "\t\t\t\t";
$this->loadTemplate("@Web/Common/_addBtn.html.twig", "@Web/Common/_user-icon-menu.html.twig", 150)->display(twig_array_merge($context, ["actionPath" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_idea_create", ["name" => ""]), "inputPlaceholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("idea_new_project")]));
// line 156
echo "\t\t\t</div>
\t\t\t<div class=\"block-idea-content block-content\"
\t\t\t\t data-action=\"";
// line 159
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_ideas_last");
echo "\"
\t\t\t\t role=\"insert-list\"
\t\t\t\t data-list-load=\"false\"
\t\t\t>
\t\t\t\t";
// line 164
echo "\t\t\t</div>
\t\t</div>
\t</li>
\t";
// line 169
echo "\t";
// line 171
echo "\t<li class=\"order-menu js-order-menu user-menu-item js-hovered-item\" data-hover-item data-type-project=\"order\">
\t\t";
// line 173
echo "\t\t<meta name=\"urlArticleInfo\" content=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_article_settings", ["id" => 0]);
echo "\" property=\"\" />
\t\t";
// line 176
echo "\t\t";
// line 187
echo "\t\t";
if (($this->extensions['WebBundle\Twig\AppExtension']->userCountry() == "ru")) {
// line 188
echo "\t\t\t";
// line 189
echo "\t\t\t<a class=\"order help-tooltip\" href=\"#\" data-ru-stop>
\t\t\t\t<i class=\"order-not-added-to-project\">
\t\t\t\t\t";
// line 191
$this->loadTemplate("@Web/SVGIconsCode/cart_stop.html.twig", "@Web/Common/_user-icon-menu.html.twig", 191)->display($context);
// line 192
echo "\t\t\t\t</i>
\t\t\t</a>
\t\t\t<div class=\"order-block popup-block temporary-stop\" style=\"max-width: 200px; padding: 15px;\">
\t\t\t\tПоставки в Россию временно не осуществляются.
\t\t\t</div>
\t\t";
} else {
// line 198
echo "
\t\t\t<a class=\"order";
// line 199
if (((isset($context["orderArticlesAll"]) || array_key_exists("orderArticlesAll", $context) ? $context["orderArticlesAll"] : (function () { throw new RuntimeError('Variable "orderArticlesAll" does not exist.', 199, $this->source); })()) > 0)) {
echo " active";
}
echo " help-tooltip\"
\t\t\t\t";
// line 201
echo "\t\t\t\thref=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_orders");
echo "\"
\t\t\t>
\t\t\t\t<i class=\"order-added-to-project\" id=\"logic_ordersInProjectIcon\">
\t\t\t\t\t";
// line 204
$this->loadTemplate("@Web/SVGIconsCode/cart_active.html.twig", "@Web/Common/_user-icon-menu.html.twig", 204)->display($context);
// line 205
echo "\t\t\t\t</i>
\t\t\t\t<i class=\"order-not-added-to-project\" id=\"logic_noOrdersInProjectIcon\">
\t\t\t\t\t";
// line 207
$this->loadTemplate("@Web/SVGIconsCode/cart_default.html.twig", "@Web/Common/_user-icon-menu.html.twig", 207)->display($context);
// line 208
echo "\t\t\t\t</i>
\t\t\t\t<span
\t\t\t\t\tclass=\"val\"
\t\t\t\t\tid=\"logic_orderArticlesCount\"
\t\t\t\t\tdata-change-count=";
// line 212
echo twig_escape_filter($this->env, (isset($context["orderArticlesAll"]) || array_key_exists("orderArticlesAll", $context) ? $context["orderArticlesAll"] : (function () { throw new RuntimeError('Variable "orderArticlesAll" does not exist.', 212, $this->source); })()), "html", null, true);
echo "
\t\t\t\t>
\t\t\t\t\t";
// line 214
echo twig_escape_filter($this->env, (isset($context["orderArticlesAll"]) || array_key_exists("orderArticlesAll", $context) ? $context["orderArticlesAll"] : (function () { throw new RuntimeError('Variable "orderArticlesAll" does not exist.', 214, $this->source); })()), "html", null, true);
echo "
\t\t\t\t</span>
\t\t\t\t";
// line 218
echo "\t\t\t\t<div data-order-add-block>
\t\t\t\t\t<div class=\"icon-order\">
\t\t\t\t\t\t<div class=\"sprite-order-added\"></div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"txt-order js-txt\"
\t\t\t\t\t\t data-add=\"";
// line 223
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_order_add"), "html", null, true);
echo "\"
\t\t\t\t\t\t data-del=\"";
// line 224
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_order_del"), "html", null, true);
echo "\"
\t\t\t\t\t></div>
\t\t\t\t\t<div class=\"arrow-add\"></div>
\t\t\t\t\t<div class=\"arrow-add-bg\"></div>
\t\t\t\t</div>
\t\t\t</a>
\t\t\t";
// line 230
$context["lang"] = $this->extensions['WebBundle\Twig\AppExtension']->userLocale();
// line 231
echo "\t\t\t<div class=\"order-block hidden-xs popup-block isEmptyList\">
\t\t\t\t<div class='block-header'>
\t\t\t\t\t<h5>
\t\t\t\t\t\t<span class='title'>";
// line 234
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("header_orders"), "html", null, true);
echo "</span>
\t\t\t\t\t\t<span>( </span>
\t\t\t\t\t\t<a class=\"articles-count\"
\t\t\t\t\t\t\thref=\"";
// line 237
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_orders");
echo "\"
\t\t\t\t\t\t\tdata-change-count=";
// line 238
echo twig_escape_filter($this->env, (isset($context["orderArticlesAll"]) || array_key_exists("orderArticlesAll", $context) ? $context["orderArticlesAll"] : (function () { throw new RuntimeError('Variable "orderArticlesAll" does not exist.', 238, $this->source); })()), "html", null, true);
echo "> ";
echo twig_escape_filter($this->env, (isset($context["orderArticlesAll"]) || array_key_exists("orderArticlesAll", $context) ? $context["orderArticlesAll"] : (function () { throw new RuntimeError('Variable "orderArticlesAll" does not exist.', 238, $this->source); })()), "html", null, true);
echo " </a>
\t\t\t\t\t\t<span id=\"aNameTrns\"
\t\t\t\t\t\t\t\tdata-item-phrase=\"";
// line 240
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['WebBundle\Twig\AppExtension']->declension((isset($context["orderArticlesAll"]) || array_key_exists("orderArticlesAll", $context) ? $context["orderArticlesAll"] : (function () { throw new RuntimeError('Variable "orderArticlesAll" does not exist.', 240, $this->source); })()), [0 => "order.article.count", 1 => "order.article.counts", 2 => "order.article.counts_d"], (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 240, $this->source); })()))), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\tdata-trans-count=\"";
// line 241
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order.article.count"), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\tdata-trans-counts=\"";
// line 242
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order.article.counts"), "html", null, true);
echo "\"
\t\t\t\t\t\t\t\tdata-trans-counts-d=\"";
// line 243
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("order.article.counts_d"), "html", null, true);
echo "\"
\t\t\t\t\t\t>
\t\t\t\t\t\t\t";
// line 245
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['WebBundle\Twig\AppExtension']->declension((isset($context["orderArticlesAll"]) || array_key_exists("orderArticlesAll", $context) ? $context["orderArticlesAll"] : (function () { throw new RuntimeError('Variable "orderArticlesAll" does not exist.', 245, $this->source); })()), [0 => "order.article.count", 1 => "order.article.counts", 2 => "order.article.counts_d"], (isset($context["lang"]) || array_key_exists("lang", $context) ? $context["lang"] : (function () { throw new RuntimeError('Variable "lang" does not exist.', 245, $this->source); })()))), "html", null, true);
echo "</span>
\t\t\t\t\t\t<span> )</span>
\t\t\t\t\t\t<span class=\"count-orders hidden\" data-count=\"";
// line 247
echo twig_escape_filter($this->env, (isset($context["ordersCount"]) || array_key_exists("ordersCount", $context) ? $context["ordersCount"] : (function () { throw new RuntimeError('Variable "ordersCount" does not exist.', 247, $this->source); })()), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, (isset($context["ordersCount"]) || array_key_exists("ordersCount", $context) ? $context["ordersCount"] : (function () { throw new RuntimeError('Variable "ordersCount" does not exist.', 247, $this->source); })()), "html", null, true);
echo "</span>
\t\t\t\t\t</h5>
\t\t\t\t\t";
// line 250
echo "\t\t\t\t\t";
$this->loadTemplate("@Web/Common/_addBtn.html.twig", "@Web/Common/_user-icon-menu.html.twig", 250)->display(twig_array_merge($context, ["actionPath" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_buy_order_create"), "inputPlaceholder" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("buyOrder.name3")]));
// line 256
echo "\t\t\t\t</div>
\t\t\t\t<div class=\"block-order-content block-content\"
\t\t\t\t\tdata-action=\"";
// line 258
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_last_buy_orders");
echo "\"
\t\t\t\t\trole=\"insert-list\"
\t\t\t\t\tdata-list-load=\"false\"
\t\t\t\t>
\t\t\t\t\t";
// line 263
echo "\t\t\t\t</div>
\t\t\t</div>
\t\t";
}
// line 266
echo " ";
// line 267
echo "\t
\t\t";
// line 271
echo "\t\t";
if ( !twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 271, $this->source); })()), "user", [], "any", false, false, false, 271)) {
// line 272
echo "\t\t\t<div
\t\t\t\tid=\"order_no_login_alert\"
\t\t\t\tclass=\"popup-block no-login-popup\"
\t\t\t>
\t\t\t\t";
// line 276
$this->loadTemplate("@Web/Common/_no-login-alert.html.twig", "@Web/Common/_user-icon-menu.html.twig", 276)->display(twig_array_merge($context, ["class" => "no-login-block js-no-login-order", "withAttentionHeader" => true, "projectType" => "order"]));
// line 283
echo "\t\t\t</div>
\t\t";
}
// line 285
echo "\t</li>
</ul>
";
$__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "@Web/Common/_user-icon-menu.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 548 => 285, 544 => 283, 542 => 276, 536 => 272, 533 => 271, 530 => 267, 528 => 266, 522 => 263, 515 => 258, 511 => 256, 508 => 250, 501 => 247, 496 => 245, 491 => 243, 487 => 242, 483 => 241, 479 => 240, 472 => 238, 468 => 237, 462 => 234, 457 => 231, 455 => 230, 446 => 224, 442 => 223, 435 => 218, 429 => 214, 424 => 212, 418 => 208, 416 => 207, 412 => 205, 410 => 204, 403 => 201, 397 => 199, 394 => 198, 386 => 192, 384 => 191, 380 => 189, 378 => 188, 375 => 187, 373 => 176, 367 => 173, 364 => 171, 362 => 169, 356 => 164, 349 => 159, 344 => 156, 341 => 150, 335 => 146, 327 => 145, 322 => 143, 316 => 139, 313 => 138, 310 => 131, 308 => 130, 302 => 129, 293 => 123, 289 => 122, 285 => 121, 279 => 117, 272 => 114, 269 => 113, 267 => 112, 263 => 110, 261 => 109, 254 => 106, 248 => 104, 245 => 103, 243 => 101, 237 => 96, 230 => 91, 222 => 86, 218 => 85, 214 => 84, 204 => 79, 201 => 78, 199 => 77, 195 => 75, 193 => 74, 188 => 72, 182 => 71, 178 => 70, 175 => 69, 172 => 67, 167 => 64, 161 => 62, 158 => 61, 151 => 60, 149 => 59, 144 => 57, 140 => 56, 136 => 54, 134 => 53, 131 => 52, 126 => 50, 123 => 49, 121 => 48, 113 => 43, 108 => 40, 105 => 39, 100 => 38, 97 => 37, 94 => 36, 91 => 35, 88 => 34, 85 => 33, 81 => 30, 78 => 29, 76 => 27, 68 => 23, 57 => 14, 54 => 13, 51 => 11, 49 => 10, 46 => 8,);
}
public function getSourceContext()
{
return new Source("{#
@элементам списка с выпадающими списками при ховере присвоить атрибут data-hover-item
@блоку с отображением количества присвоить атрибут data-count=\"{{ количество }}\"
@блок, в который вставляем присланный аяксом список, должен иметь атрибут role=\"insert-list\"
@необходимость отправки запроса определяем по data-list-load=\"false\" (если true, то не отправлять, так как список уже загружен)
@data-item-phrase - атрибут, в котором хранится текущая фраза, обозначающая количество элементов (item или items)
#}
<ul class=\"list-inline list-user-menu js-list-user-menu pull-right\" data-user-menu>
\t{# профиль пользователя #}
\t{# элемент виден на мобильных устройствах #}
\t<li class=\"setting-item user-menu-item-mobile user-menu-item\">
\t\t{# кнопка с иконкой профиля с выпадающим списком collapseRegTop #}
\t\t{% if user.alias is defined %}
\t\t\t<a class=\"navbar-toggle-reg collapsed m-l-n\"
\t\t\t role=\"button\"
\t\t\t data-toggle=\"collapse\"
\t\t\t href=\"#collapseRegTop\"
\t\t\t aria-expanded=\"false\"
\t\t\t>
\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t</a>
\t\t{% else %}
\t\t\t<a href=\"{{ path('app_login') }}\">
\t\t\t\t<i class=\"material-icons\"></i>
\t\t\t</a>
\t\t{% endif %}
\t\t{# выпадающее меню пользователя (ссылка на профиль и логаут), или ссылки на регистрацию/авторизацию (при
\t\t клике на иконку профиля href=\"#collapseRegTop\") иконка видна, когда не помещается имя пользователя #}
\t\t{% include '@Web/Common/dropdown-user-menu.html.twig' %}
\t</li>
\t{# показать попап с чатом для пользователя, который впервые зашел на сайт #}
\t{% set isRTWidget = useRTWidget() %}
\t{% set unreadCount = 0 %}
\t{% if not isRTWidget %}
\t\t{% set unreadCount = getUnreadCount() %}
\t{% endif %}
<!-- [debug] Initial unread count: {{ unreadCount }} -->
{% if true %} {# Оставляем возможность вкл/выкл для конкретный локалей #}
<li class=\"user-menu-item order-discus js-first-visit-discuss\"
data-url=\"send/client/msg\"
data-id-client=\"client_id\"
data-close-url=\"{{ path('app_cookie_close_hello_message') }}\"
data-hover-item
>
<a class=\"order-discus help-tooltip js-chat-button-link\"
\t\t\t\tid=\"chat-widget-btn\"
\t\t\t\t{% if not isRTWidget %}
\t\t\t\t\ttarget=\"_blank\"
\t\t\t\t\thref=\"{{ path('app_chatb_chatbpage') }}\"
\t\t\t\t{% endif %}
>
{% include '@Web/SVGIconsCode/chat.html.twig' with { 'unreadAll': unreadCount } %}
</a>
<div class=\"order-discus-block popup-block\"
data-no-new-messages-tooltip-text=\"{{ 'contacts.live_chat' | trans }}\"
data-new-messages-tooltip-text=\"{{ 'chat_unread_messages' | trans }}\"
>
{% if not isRTWidget and unreadCount > 0 %}
{{ 'chat_unread_messages' | trans }}{% if unreadCount > 99 %}: {{ unreadCount }}{% endif %}
{% else %}
{{ 'contacts.live_chat' | trans }}
{% endif %}
</div>
</li>
{% endif %}
\t{# просмотренные пользователем страницы #}
\t<li class=\"watch-menu user-menu-item hidden-xs\" data-hover-item>
\t\t<meta name=\"urlSetHistory\" content=\"{{ path('app_visit_save') }}\" property=\"\" />
\t\t<a class=\"watch help-tooltip{% if visitedAll > 0 %} active{% endif %}\"
\t\t\thref=\"{{ path('visit') }}\">
\t\t\t<i class=\"watch-added-to-project\">
\t\t\t\t{% include '@Web/SVGIconsCode/history_active.html.twig' %}
\t\t\t</i>
\t\t\t<i class=\"watch-not-added-to-project\">
\t\t\t\t{% include '@Web/SVGIconsCode/history_default.html.twig' %}
\t\t\t</i>
\t\t\t<span class=\"user-history-pages-count val\" data-count=\"{{ visitedAll }}\">{{ visitedAll }}</span>
\t\t</a>
\t\t<div class=\"watch-block popup-block popup-block-last-visits isEmptyList\">
\t\t\t<div class='block-header'>
\t\t\t\t<h5>
\t\t\t\t\t<span class=\"title\">{{ 'header_history' | trans }}</span>
\t\t\t\t\t<a href=\"{{ path('visit') }}\">
\t\t\t\t\t\t(<span class=\"watch-count user-history-pages-count\">{{ visitedAll }}</span>)
\t\t\t\t\t</a>
\t\t\t\t</h5>
\t\t\t</div>
\t\t\t<div class=\"block-watch-content\"
\t\t\t\t data-action=\"{{ path('app_visit_last') }}\"
\t\t\t\t role=\"insert-list\"
\t\t\t\t data-list-load=\"false\"
\t\t\t>
\t\t\t\t{#<div class=\"smallTimer\"></div>#}
\t\t\t</div>
\t\t</div>
\t</li>
\t{# идеи пользователя #}
\t{# изменениe количества скрипт находит все [data-change-count], в зависимости
\t от [data-type-project], и изменяет количество в них #}
\t<li class=\"idea-menu user-menu-item\" data-hover-item data-type-project=\"idea\">
\t\t<a class=\"star idea-iorder help-tooltipnformer{% if ideas > 0 %} active{% endif %}\"
\t\t {# onclick=\"yaCounter51021749.reachGoal('Мои идеи'); return true;\"#}
\t\t href=\"{{ path('app_ideas') }}\"
\t\t>
\t\t\t<i class=\"idea-added-to-project\" id=\"logic_ideasInProjectIcon\">
\t\t\t\t{% include '@Web/SVGIconsCode/idea-added-top.html.twig' %}
\t\t\t</i>
\t\t\t<i class=\"idea-not-added-to-project\" id=\"logic_noIdeasInProjectIcon\">
\t\t\t\t{% include '@Web/SVGIconsCode/idea-no-added-top.html.twig' %}
\t\t\t</i>
\t\t\t<span class=\"val ideas_count\" id=\"logic_orderIdeasCount\" data-change-count=\"{{ ideas }}\">{{ ideas }}</span>
\t\t\t{# сообщение с иконкой и фразой, что элемент добавлен в проект #}
\t\t\t<div data-idea-add-block>
\t\t\t\t<div class=\"icon-idea\">
\t\t\t\t\t<div class=\"sprite-idea-added\"></div>
\t\t\t\t</div>
\t\t\t\t<div class=\"txt-idea js-txt\" data-add=\"{{ 'header_Interior_added_to' | trans }}\"
\t\t\t\t\t data-del=\"{{ 'header_storage_ideas_del' | trans }}\"
\t\t\t\t\t data-move=\"{{ 'header_storage_ideas_move' | trans }}\"
\t\t\t\t></div>
\t\t\t\t<div class=\"arrow-add\"></div>
\t\t\t\t<div class=\"arrow-add-bg\"></div>
\t\t\t</div>
\t\t</a>
\t\t<div class=\"{% if not app.user %}hidden{% endif %}\">
\t\t\t{% if not app.user %}
\t\t\t\t{% include '@Web/Common/_no-login-alert.html.twig'
\t\t\t\t\twith {
\t\t\t\t\t\t'class': 'no-login-block js-no-login-idea',
\t\t\t\t\t\t'withAttentionHeader': false,
\t\t\t\t\t\t'projectType': 'idea'
\t\t\t\t\t}
\t\t\t\t%}
\t\t\t{% endif %}
\t\t</div>
\t\t<div class=\"idea-block hidden-xs popup-block isEmptyList\">
\t\t\t<div class='block-header'>
\t\t\t\t<h5>
\t\t\t\t\t<span class=\"title\">{{ 'idea_header_list' | trans }}</span>
\t\t\t\t\t<span>( </span>
\t\t\t\t\t<a class=\"count-ideas\" href=\"#\" data-change-count={{ ideas }} data-count=\"{{ ideas }}\"> {{ ideas }} </a>
\t\t\t\t\t<span> {{ ideas | caseString(['collection_interior', 'collection_interiors','collection_interiors']) | trans }} </span>
\t\t\t\t\t<span> )</span>
\t\t\t\t</h5>
\t\t\t\t{# кнопка для добавления проекта идей #}
\t\t\t\t{% include '@Web/Common/_addBtn.html.twig'
\t\t\t\t\twith {
\t\t\t\t\t\t'actionPath': path('app_idea_create', { name: '' }),
\t\t\t\t\t\t'inputPlaceholder': 'idea_new_project' | trans,
\t\t\t\t\t}
\t\t\t\t%}
\t\t\t</div>
\t\t\t<div class=\"block-idea-content block-content\"
\t\t\t\t data-action=\"{{ path('app_ideas_last') }}\"
\t\t\t\t role=\"insert-list\"
\t\t\t\t data-list-load=\"false\"
\t\t\t>
\t\t\t\t{#<div class=\"smallTimer\"></div>#}
\t\t\t</div>
\t\t</div>
\t</li>
\t{# заказы пользователя #}
\t{# изменение количества скрипт находит все [data-change-count], в зависимости
\t от [data-type-project], и изменяет количество в них #}
\t<li class=\"order-menu js-order-menu user-menu-item js-hovered-item\" data-hover-item data-type-project=\"order\">
\t\t{# специальный url для получения свойств артикула #}
\t\t<meta name=\"urlArticleInfo\" content=\"{{ path('app_article_settings', {'id': 0}) }}\" property=\"\" />
\t\t{# >>> на случай приостановления приема заказов использовать закомментированный пример (напр. были остановки в UK https://te.remote.team/#/discus/06F82981-2F73-621D-A326-95E85F091B1A/ #}
\t\t{# {% if userCountry() == 'gb' %}
\t\t\t<a class=\"order help-tooltip\" href=\"#\" data-uk-stop>
\t\t\t\t<i class=\"order-not-added-to-project\">
\t\t\t\t\t{% include '@Web/SVGIconsCode/cart_stop.html.twig' %}
\t\t\t\t</i>
\t\t\t</a>
\t\t\t<div class=\"order-block popup-block temporary-stop\" style=\"max-width: 200px; padding: 15px;\">
\t\t\t\t{{ 'msg.uk' | trans }}.
\t\t\t\t<a href=\"{{ path('app_home') }}/blog/order-placement-with-delivery-to-the-uk-suspended\" target=\"_blank\">{{ 'article_item_more_info' | trans }}<a>
\t\t\t</div>
\t\t{% else %} #}
\t\t{% if userCountry() == 'ru' %}
\t\t\t{# https://te.remote.team/#/discus/7ED1B0D8-F44C-B99A-F47F-4E892406CC10/ #}
\t\t\t<a class=\"order help-tooltip\" href=\"#\" data-ru-stop>
\t\t\t\t<i class=\"order-not-added-to-project\">
\t\t\t\t\t{% include '@Web/SVGIconsCode/cart_stop.html.twig' %}
\t\t\t\t</i>
\t\t\t</a>
\t\t\t<div class=\"order-block popup-block temporary-stop\" style=\"max-width: 200px; padding: 15px;\">
\t\t\t\tПоставки в Россию временно не осуществляются.
\t\t\t</div>
\t\t{% else %}
\t\t\t<a class=\"order{% if orderArticlesAll > 0 %} active{% endif %} help-tooltip\"
\t\t\t\t{#onclick=\"yaCounter51021749.reachGoal('Корзина'); return true;\"#}
\t\t\t\thref=\"{{ path('app_orders') }}\"
\t\t\t>
\t\t\t\t<i class=\"order-added-to-project\" id=\"logic_ordersInProjectIcon\">
\t\t\t\t\t{% include '@Web/SVGIconsCode/cart_active.html.twig' %}
\t\t\t\t</i>
\t\t\t\t<i class=\"order-not-added-to-project\" id=\"logic_noOrdersInProjectIcon\">
\t\t\t\t\t{% include '@Web/SVGIconsCode/cart_default.html.twig' %}
\t\t\t\t</i>
\t\t\t\t<span
\t\t\t\t\tclass=\"val\"
\t\t\t\t\tid=\"logic_orderArticlesCount\"
\t\t\t\t\tdata-change-count={{ orderArticlesAll }}
\t\t\t\t>
\t\t\t\t\t{{ orderArticlesAll }}
\t\t\t\t</span>
\t\t\t\t{# сообщение с иконкой и фразой, что элемент добавлен в проект #}
\t\t\t\t<div data-order-add-block>
\t\t\t\t\t<div class=\"icon-order\">
\t\t\t\t\t\t<div class=\"sprite-order-added\"></div>
\t\t\t\t\t</div>
\t\t\t\t\t<div class=\"txt-order js-txt\"
\t\t\t\t\t\t data-add=\"{{ 'header_order_add' | trans }}\"
\t\t\t\t\t\t data-del=\"{{ 'header_order_del' | trans }}\"
\t\t\t\t\t></div>
\t\t\t\t\t<div class=\"arrow-add\"></div>
\t\t\t\t\t<div class=\"arrow-add-bg\"></div>
\t\t\t\t</div>
\t\t\t</a>
\t\t\t{% set lang = userLocale() %}
\t\t\t<div class=\"order-block hidden-xs popup-block isEmptyList\">
\t\t\t\t<div class='block-header'>
\t\t\t\t\t<h5>
\t\t\t\t\t\t<span class='title'>{{ 'header_orders' | trans }}</span>
\t\t\t\t\t\t<span>( </span>
\t\t\t\t\t\t<a class=\"articles-count\"
\t\t\t\t\t\t\thref=\"{{ path('app_orders') }}\"
\t\t\t\t\t\t\tdata-change-count={{ orderArticlesAll }}> {{ orderArticlesAll }} </a>
\t\t\t\t\t\t<span id=\"aNameTrns\"
\t\t\t\t\t\t\t\tdata-item-phrase=\"{{ orderArticlesAll | declension(['order.article.count', 'order.article.counts','order.article.counts_d'], lang) | trans }}\"
\t\t\t\t\t\t\t\tdata-trans-count=\"{{ 'order.article.count' | trans }}\"
\t\t\t\t\t\t\t\tdata-trans-counts=\"{{ 'order.article.counts' | trans }}\"
\t\t\t\t\t\t\t\tdata-trans-counts-d=\"{{ 'order.article.counts_d' | trans }}\"
\t\t\t\t\t\t>
\t\t\t\t\t\t\t{{ orderArticlesAll | declension(['order.article.count', 'order.article.counts','order.article.counts_d'], lang) | trans }}</span>
\t\t\t\t\t\t<span> )</span>
\t\t\t\t\t\t<span class=\"count-orders hidden\" data-count=\"{{ ordersCount }}\">{{ ordersCount }}</span>
\t\t\t\t\t</h5>
\t\t\t\t\t{# кнопка для добавления заказа #}
\t\t\t\t\t{% include '@Web/Common/_addBtn.html.twig'
\t\t\t\t\t\twith {
\t\t\t\t\t\t\t'actionPath': path('app_buy_order_create'),
\t\t\t\t\t\t\t'inputPlaceholder': 'buyOrder.name3' | trans,
\t\t\t\t\t\t}
\t\t\t\t\t%}
\t\t\t\t</div>
\t\t\t\t<div class=\"block-order-content block-content\"
\t\t\t\t\tdata-action=\"{{ path('app_last_buy_orders') }}\"
\t\t\t\t\trole=\"insert-list\"
\t\t\t\t\tdata-list-load=\"false\"
\t\t\t\t>
\t\t\t\t\t{#<div class=\"smallTimer\"></div>#}
\t\t\t\t</div>
\t\t\t</div>
\t\t{% endif %} {# <<< на случай приприостановления приема заказов #}
\t
\t\t{# Попап в топ меню для корзины - предупреждение о необходимости
\tвойти или зарегистрироваться для сохранения отобранного.
\t\tСкриптом блок будет клонираться в подсказку при добавлении артикула #}
\t\t{% if not app.user %}
\t\t\t<div
\t\t\t\tid=\"order_no_login_alert\"
\t\t\t\tclass=\"popup-block no-login-popup\"
\t\t\t>
\t\t\t\t{% include '@Web/Common/_no-login-alert.html.twig'
\t\t\t\t\twith {
\t\t\t\t\t\t'class': 'no-login-block js-no-login-order',
\t\t\t\t\t\t'withAttentionHeader': true,
\t\t\t\t\t\t'projectType': 'order'
\t\t\t\t\t}
\t\t\t\t%}
\t\t\t</div>
\t\t{% endif %}
\t</li>
</ul>
", "@Web/Common/_user-icon-menu.html.twig", "/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Common/_user-icon-menu.html.twig");
}
}