diff --git a/views/twig/extensions/themes/default/page/list/list.html.twig b/views/twig/extensions/themes/default/page/list/list.html.twig new file mode 100644 index 0000000..d1b9a5c --- /dev/null +++ b/views/twig/extensions/themes/default/page/list/list.html.twig @@ -0,0 +1,118 @@ +{% extends "page/list/list.html.twig" %} + +{% block page_list_listhead %} + {% if listType=='manufacturer' or listType=='vendor'%} +
+
+
+
+ {% if showPopBreadcrump %} +
+ {% include "widget/breadcrumb.html.twig" %} +
+ {% endif %} + + + {{ actCategory.getTitle() }} + + {% if actCategory and actCategory.getShortDescription() and oPageNavigation.actPage == 1 %} +
+ {{ actCategory.getShortDescription()|raw() }} +
+ {% endif %} +
+ {% if actCategory.getIconUrl() %} +
+ {{ translate({ ident: +
+ {% endif %} +
+
+
+ {% else %} +
+
+
+
+ {% if showPopBreadcrump %} +
+ {% include "widget/breadcrumb.html.twig" %} +
+ {% endif %} + +

+ {{ oView.getTitle() }} +

+ + {% if actCategory and actCategory.getShortDescription() and oPageNavigation.actPage == 1 %} +
+ {{ actCategory.getShortDescription()|raw() }} +
+ {% endif %} + + {% if actCategory.oxcategories__oxlongdesc.value and oPageNavigation.actPage == 1 %} + {% block page_list_long_desc %} +
+ {{ include(template_from_string(actCategory.oxcategories__oxlongdesc)) }} +
+ {% endblock %} + {% endif %} +
+ {% if actCategory.oxcategories__oxthumb.value and actCategory.getThumbUrl() %} +
+ {{ translate({ ident: +
+ {% endif %} +
+
+
+ {% endif %} + {% if oView.hasVisibleSubCats() %} +
+ {% set iSubCategoriesCount = 0 %} +
+ {% for category in oView.getSubCatList() %} + {% if category.getIsVisible() %} + {% set iSubCategoriesCount = iSubCategoriesCount+1 %} + {% set iconUrl = category.getIconUrl() %} + {% if listType=='manufacturer' or listType=='vendor' %} + {% set iconAltAttribute = translate({ ident: "MANUFACTURER_IMAGE_ALT", args: category.oxcategories__oxtitle.value }) %} + {% else %} + {% set iconAltAttribute = translate({ ident: "CATEGORY_IMAGE_ALT", args: category.oxcategories__oxtitle.value }) %} + {% endif %} + + {% if iconUrl %} + {{ iconAltAttribute }} + {% else %} + {{ iconAltAttribute }} + {% endif %} + + {{ category.oxcategories__oxtitle.value }} + + {% if oView.showCategoryArticlesCount() and (category.getNrOfArticles() > 0) %} + ({{ category.getNrOfArticles() }}) + {% endif %} + + + {% endif %} + + {% if category.getContentCats() %} + {% for ocont in category.getContentCats() %} + + {% if listType=='manufacturer' or listType=='vendor' %} + {% set iconAltAttribute = translate({ ident: "MANUFACTURER_IMAGE_ALT", args: category.oxcategories__oxtitle.value }) %} + {% else %} + {% set iconAltAttribute = translate({ ident: "CATEGORY_IMAGE_ALT", args: category.oxcategories__oxtitle.value }) %} + {% endif %} + {{ iconAltAttribute }} + + {{ ocont.oxcontents__oxtitle.value }} + + + {% endfor %} + {% endif %} + {% endfor %} +
+
+ {% endif %} +{% endblock %} \ No newline at end of file