Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Making home point to named URL
Jon Lawrence18de2af40152
diff --git a/templates/account/password_change.html b/templates/account/password_change.htmlindex f14f964ae5..1367dd4545 100644--- a/templates/account/password_change.html+++ b/templates/account/password_change.html@@ -4,9 +4,9 @@{% block breadcrumb %}<ul class="breadcrumbs list-unstyled">- <li><a href="/">{% trans "Home" context "Main navigation item" %}</a></li>+ <li><a href="{% url 'home' %}">{% trans "Home" context "Main navigation item" %}</a></li><li><a href="{% url 'profile:details' %}">{% trans "Your account" context "Main navigation item" %}</a></li>- <li><a href="/">{% trans "Edit" context "Password change breadcrumb" %}</a></li>+ <li><a href="{% url 'home' %}">{% trans "Edit" context "Password change breadcrumb" %}</a></li></ul>{% endblock breadcrumb %}diff --git a/templates/base.html b/templates/base.htmlindex 78eb4c849e..c96515b882 100644--- a/templates/base.html+++ b/templates/base.html@@ -85,7 +85,7 @@<svg data-src="{% static "images/mobile_menu.svg" %}" width="28px" height="20px"/><span>{% trans "menu" context "Hamburger button text" %}</span></div>- <a href="/">+ <a href="{% url 'home' %}"><svg data-src="{% static "images/logo.svg" %}" height="38px" width="176px"/></a></div>@@ -168,7 +168,7 @@<div class="container"><div class="row"><div class="col-md-3">- <a href="/" class="footer__logo">+ <a href="{% url 'home' %}" class="footer__logo"><svg data-src="{% static "images/logo.svg" %}" height="38px" width="176px"/></a></div>diff --git a/templates/cart-dropdown.html b/templates/cart-dropdown.htmlindex b855568892..f024935906 100644--- a/templates/cart-dropdown.html+++ b/templates/cart-dropdown.html@@ -53,7 +53,7 @@<div class="text-md-center cart-dropdown__empty"><h3>{% trans "There are no products in your shopping cart." context "Empty cart message" %}</h3><img src="{% static 'images/pirate_cart.png' %}" srcset="{% static 'images/pirate_cart.png' %} 1x, {% static 'images/pirate_cart2x.png' %} 2x">- <a href="/" class="btn primary">{% trans "Check out our sales" context "Empty cart link" %}</a>+ <a href="{% url 'home' %}" class="btn primary">{% trans "Check out our sales" context "Empty cart link" %}</a></div>{% endif %}</div>diff --git a/templates/cart/index.html b/templates/cart/index.htmlindex d7263a5b7b..96580c24ce 100644--- a/templates/cart/index.html+++ b/templates/cart/index.html@@ -9,7 +9,7 @@{% block breadcrumb %}<ul class="breadcrumbs list-unstyled">- <li><a href="/">{% trans "Home" context "Main navigation item" %}</a></li>+ <li><a href="{% url 'home' %}">{% trans "Home" context "Main navigation item" %}</a></li><li><a rel="nofollow" href="{% url 'cart:index' %}">{% trans "Cart" context "Cart breadcrumb" %}</a></li></ul>{% endblock breadcrumb %}@@ -87,7 +87,7 @@<img src="{% static 'images/pirate_cart.png' %}"srcset="{% static 'images/pirate_cart.png' %} 1x, {% static 'images/pirate_cart2x.png' %} 2x"><h2>{% trans "There are no products in your shopping cart." context "Empty cart message" %}</h2>- <a href="/" class="btn primary">{% trans "Check out our sales" context "Empty cart link" %}</a>+ <a href="{% url 'home' %}" class="btn primary">{% trans "Check out our sales" context "Empty cart link" %}</a></div>{% endif %}</div>diff --git a/templates/category/index.html b/templates/category/index.htmlindex 6d843c8825..763b070f0a 100644--- a/templates/category/index.html+++ b/templates/category/index.html@@ -31,7 +31,7 @@<div class="row"><div class="col-md-7"><ul class="breadcrumbs list-unstyled d-none d-md-block">- <li><a href="/">{% trans "Home" context 'Category breadcrumbs home' %}</a></li>+ <li><a href="{% url 'home' %}">{% trans "Home" context 'Category breadcrumbs home' %}</a></li>{% for ancestor in category.get_ancestors %}<li><a href='{{ ancestor.get_absolute_url }}'>{{ ancestor.name }}</a></li>{% endfor %}diff --git a/templates/checkout/details.html b/templates/checkout/details.htmlindex 5f0d2490d4..2a1f36a202 100644--- a/templates/checkout/details.html+++ b/templates/checkout/details.html@@ -12,7 +12,7 @@</div><header class="checkout__header"><div class="container">- <a href="/">+ <a href="{% url 'home'%}"><svg data-src="{% static "images/logo.svg" %}" height="38px" width="176px" /></a><h1>{% trans "Checkout" context "Checkout title" %}</h1>diff --git a/templates/dashboard/base.html b/templates/dashboard/base.htmlindex 5c1070e2d1..c2eb8cdbc7 100644--- a/templates/dashboard/base.html+++ b/templates/dashboard/base.html@@ -36,7 +36,7 @@</li><li class="divider"></li><li>- <a href="/" target="_blank" class="waves-effect">+ <a href="{% url 'home' %}" target="_blank" class="waves-effect">{% trans "Visit storefront" context "Dashboard top navigation action" %}</a></li>diff --git a/templates/order/details.html b/templates/order/details.htmlindex 5e98d9bedc..625983b1c5 100644--- a/templates/order/details.html+++ b/templates/order/details.html@@ -12,7 +12,7 @@{% block breadcrumb %}{% if order.user == user %}<ul class="breadcrumbs list-unstyled">- <li><a href="/">+ <li><a href="{% url 'home'%}">{% trans "Home" context "Main navigation item" %}</a></li><li><a href="{% url "profile:details" %}">diff --git a/templates/order/payment.html b/templates/order/payment.htmlindex d7be44b553..4ed44b62df 100644--- a/templates/order/payment.html+++ b/templates/order/payment.html@@ -15,7 +15,7 @@{% block breadcrumb %}{% if order.user == user %}<ul class="breadcrumbs list-unstyled">- <li><a href="/">+ <li><a href="{% url 'home' %}">{% trans "Home" context "Main navigation item" %}</a></li><li><a href="{% url "profile:details" %}">diff --git a/templates/product/details.html b/templates/product/details.htmlindex 1f16ecad88..48b9f9ad9c 100644--- a/templates/product/details.html+++ b/templates/product/details.html@@ -14,7 +14,7 @@{% block breadcrumb %}<ul class="breadcrumbs list-unstyled">- <li><a href="/">+ <li><a href="{% url 'home' %}">{% trans "Home" context "Main navigation item" %}</a></li>{% with product.get_first_category as category %}diff --git a/templates/userprofile/address-edit.html b/templates/userprofile/address-edit.htmlindex 2cb51a98d7..4943a3b4e2 100644--- a/templates/userprofile/address-edit.html+++ b/templates/userprofile/address-edit.html@@ -11,7 +11,7 @@{% block breadcrumb %}<ul class="breadcrumbs list-unstyled">- <li><a href="/">+ <li><a href="{% url 'home' %}">{% trans "Home" context "Main navigation item" %}</a></li><li><a href="{% url "profile:details" %}">diff --git a/templates/userprofile/details.html b/templates/userprofile/details.htmlindex edd57f1cfb..3a1637776e 100644--- a/templates/userprofile/details.html+++ b/templates/userprofile/details.html@@ -11,7 +11,7 @@{% block breadcrumb %}<ul class="breadcrumbs list-unstyled">- <li><a href="/">+ <li><a href="{% url 'home' %}">{% trans "Home" context "Main navigation item" %}</a></li><li>{% trans "Your account" context "Main navigation item" %} (<b>{{ user }}</b>)</li>