if no orders show hint
This commit is contained in:
parent
3bb3c5b513
commit
fa610cae3b
|
@ -21,7 +21,10 @@
|
|||
<main class="sidebar-layout content-width">
|
||||
<nav th:replace="fragments/customer :: sidebar"></nav>
|
||||
<div class="content-width detailflex">
|
||||
<div th:each="order: ${orders}">
|
||||
<div th:if="${orders.isEmpty()}">
|
||||
<h2>Mit diesem Account wurden noch keine Bestellungen getätigt.</h2>
|
||||
</div>
|
||||
<div th:if="${!orders.isEmpty()}" th:each="order: ${orders}">
|
||||
<h2 id="20202701" th:text="|Bestellung vom ${order.formatCreated()}" />
|
||||
<div>
|
||||
<table class="key-value">
|
||||
|
|
Reference in New Issue