Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix issue on warehouse list

Mira Szewczyk58adfef0061a
diff --git a/templates/dashboard/warehouse/list.html b/templates/dashboard/warehouse/list.html
index ceb1ec4c52..45bbf6732d 100644
--- a/templates/dashboard/warehouse/list.html
+++ b/templates/dashboard/warehouse/list.html
@@ -59,7 +59,7 @@
{% paginate warehouses %}
{% else %}
{% if is_empty %}
- {% include 'dashboard/customer/zero_page.html' %}
+ {% include 'dashboard/warehouse/zero_page.html' %}
{% else %}
<div class="col s12">
<div class="not-found">
diff --git a/templates/dashboard/warehouse/zero_page.html b/templates/dashboard/warehouse/zero_page.html
new file mode 100644
index 0000000000..812b0e8427
--- /dev/null
+++ b/templates/dashboard/warehouse/zero_page.html
@@ -0,0 +1,11 @@
+{% extends 'dashboard/base_zero_page.html' %}
+{% load i18n %}
+{% load static %}
+
+{% block title %}{% trans "No warehouses found." %}{% endblock %}
+{% block content %}
+ {% static "dashboard/images/add.svg" as img_path %}
+ {% blocktrans %}
+ Warehouses will appear here once there will be any created.
+ {% endblocktrans %}
+{% endblock %}