Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Rename template menu block for product type
Anna Siwik2c4f44b7843c
diff --git a/templates/dashboard/base.html b/templates/dashboard/base.htmlindex e035a1ee76..35d9a8ae8f 100644--- a/templates/dashboard/base.html+++ b/templates/dashboard/base.html@@ -101,7 +101,7 @@</p><ul>{% if perms.product.view_product %}- <li class="{% block menu_products_class %}{% endblock %}">+ <li class="{% block menu_products_type %}{% endblock %}"><a href="{% url 'dashboard:product-list' %}">{% trans "Products" context "Dashboard products list" %}</a>diff --git a/templates/dashboard/product/detail.html b/templates/dashboard/product/detail.htmlindex 0d4277af27..abd2c046a0 100644--- a/templates/dashboard/product/detail.html+++ b/templates/dashboard/product/detail.html@@ -10,7 +10,7 @@{% block body_class %}body-products{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block breadcrumbs %}<ul class="breadcrumbs breadcrumbs--history">diff --git a/templates/dashboard/product/form.html b/templates/dashboard/product/form.htmlindex aa096990d0..c61e5ef6b7 100644--- a/templates/dashboard/product/form.html+++ b/templates/dashboard/product/form.html@@ -15,7 +15,7 @@{% block body_class %}body-products{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block header_menu %}{% url "dashboard:product-list" as url %}diff --git a/templates/dashboard/product/list.html b/templates/dashboard/product/list.htmlindex db6942f581..d6abb61f30 100644--- a/templates/dashboard/product/list.html+++ b/templates/dashboard/product/list.html@@ -12,7 +12,7 @@{% block body_class %}body-products-list{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block header_extra %}{% if product_types %}diff --git a/templates/dashboard/product/product_image/form.html b/templates/dashboard/product/product_image/form.htmlindex c3859446c1..b2b4f6136a 100644--- a/templates/dashboard/product/product_image/form.html+++ b/templates/dashboard/product/product_image/form.html@@ -13,7 +13,7 @@{% block body_class %}body-store body-products{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block header_menu %}{% url "dashboard:product-detail" pk=product.pk as url %}diff --git a/templates/dashboard/product/product_image/list.html b/templates/dashboard/product/product_image/list.htmlindex a85e291087..83d376edb0 100644--- a/templates/dashboard/product/product_image/list.html+++ b/templates/dashboard/product/product_image/list.html@@ -9,7 +9,7 @@{% block body_class %}body-products{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block header_extra %}<div class="btn-fab-fixed">diff --git a/templates/dashboard/product/product_variant/detail.html b/templates/dashboard/product/product_variant/detail.htmlindex 2dd09fc343..1e55da898d 100644--- a/templates/dashboard/product/product_variant/detail.html+++ b/templates/dashboard/product/product_variant/detail.html@@ -11,7 +11,7 @@{% block body_class %}body-products{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block breadcrumbs %}<ul class="breadcrumbs breadcrumbs--history">diff --git a/templates/dashboard/product/stock/detail.html b/templates/dashboard/product/stock/detail.htmlindex 2fc5c3c99a..714e91995c 100644--- a/templates/dashboard/product/stock/detail.html+++ b/templates/dashboard/product/stock/detail.html@@ -10,7 +10,7 @@{% block body_class %}body-products{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block breadcrumbs %}<ul class="breadcrumbs breadcrumbs--history">diff --git a/templates/dashboard/product/stock/form.html b/templates/dashboard/product/stock/form.htmlindex 5f34696c87..3f2613281e 100644--- a/templates/dashboard/product/stock/form.html+++ b/templates/dashboard/product/stock/form.html@@ -16,7 +16,7 @@{% block body_class %}body-store body-products{% endblock %}-{% block menu_products_class %}active{% endblock %}+{% block menu_products_type %}active{% endblock %}{% block header_menu %}{% url "dashboard:variant-details" product_pk=product.pk variant_pk=variant.pk as url %}