Secretly fix number 0 showing on 'Warenkorb'
This commit is contained in:
parent
86e3ced19b
commit
e6c068e71a
@ -26,7 +26,10 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a class="button" th:href="@{/shop/checkout}">Warenkorb (<span th:text="${shoppingCart.itemCount}"></span>)</a>
|
<a class="button" th:href="@{/shop/checkout}">Warenkorb
|
||||||
|
<th:block th:if="${shoppingCart.itemCount > 0}"> (<span th:text="${shoppingCart.itemCount}"></span>)
|
||||||
|
</th:block>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div th:if="${error}" class="error" id="error-msg">
|
<div th:if="${error}" class="error" id="error-msg">
|
||||||
<div class="content-width bar-flex">
|
<div class="content-width bar-flex">
|
||||||
|
Reference in New Issue
Block a user