Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix 'Add new category' breadcrumbs
michalbc259feb3118
diff --git a/templates/dashboard/category/form.html b/templates/dashboard/category/form.htmlindex 85a45fd4a1..8d83e4155f 100644--- a/templates/dashboard/category/form.html+++ b/templates/dashboard/category/form.html@@ -49,8 +49,8 @@<li><a href="{% url 'dashboard:category-detail' pk=node.pk %}" class="breadcrumbs--ellipsed-item">{{ node }}</a></li>- <li>{% if category.pk %}+ <li><span class="breadcrumbs--ellipsed-item">{% trans "Edit" context "Category form page title" %}</span>@@ -73,6 +73,12 @@</li>{% endif %}{% endfor %}+ {% else %}+ <li>+ <span class="breadcrumbs--ellipsed-item">+ {% trans "Add new category" context "Category detail breadcrumbs" %}+ </span>+ </li>{% endif %}</ul>{% endblock %}