{% set listmania = "LISTMANIA"|translate %} {% if oView.getActiveRecommList() %} {% set _actvrecommlist = oView.getActiveRecommList() %} {% set template_title = listmania ~ ": " ~ _actvrecommlist.oxrecommlists__oxtitle.value %} {% else %} {% set hitsfor = "HITS_FOR"|translate %} {% set template_title = listmania ~ ": " ~ oView.getArticleCount() ~ ": " ~ hitsfor ~ " "" ~ oView.getSearchForHtml() ~ """ %} {% endif %} {% capture append = "oxidBlock_title" %}

{{ template_title }}

{% endcapture %} {% capture append = "oxidBlock_content" %} {% if oView.getActiveRecommList() %} {% set _actvrecommlist = oView.getActiveRecommList() %} {% set recommendation_head = "LIST_BY"|translate %} {% set recommendation_head = _actvrecommlist.oxrecommlists__oxtitle.value ~ " (" ~ recommendation_head ~ " " ~ _actvrecommlist.oxrecommlists__oxauthor.value ~ ")" %}

{{ recommendation_head }}

{% include "widget/locator/listlocator.html.twig" with {oPageLocator: oView.getPageNavigation()} %}
{% block recommendations_desc %}
{{ _actvrecommlist.oxrecommlists__oxdesc.value }}
{% if oView.ratingIsActive() %}
{% include "widget/reviews/rating.html.twig" with {itemid: "recommid=" ~ _actvrecommlist.getId(), sRateUrl: oViewConf.getSelfLink()|raw ~ "cl=recommlist"} %}
{% endif %}
{% endblock %} {# List types: grid|line #} {% include "widget/product/list.html.twig" with {type: "line", listId: "productList", products: oView.getArticleList(), recommid: _actvrecommlist.getId()} %} {% include "widget/locator/listlocator.html.twig" with {oPageLocator: oView.getPageNavigation(), sPosition: "bottom"} %} {% if oView.ratingIsActive() %}

{{ translate({ ident: "WRITE_PRODUCT_REVIEW" }) }}

{% include "widget/reviews/reviews.html.twig" %}
{% endif %} {% else %} {% include "page/recommendations/inc/list.html.twig" %} {% endif %} {{ insert_tracker() }} {% endcapture %} {% include "layout/page.html.twig" with {sidebar: "left", blHideBreadcrumb: true} %}