summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/layout/noleft8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/layout/noleft b/templates/layout/noleft
index 444b27b..134c12b 100644
--- a/templates/layout/noleft
+++ b/templates/layout/noleft
@@ -43,9 +43,10 @@
<a class="position-relative" href="[area ord/basket]">
<span class="material-icons-outlined">
shopping_bag
- [calc]
- if ([nitems] ne '0') {
- return q(
+ </span>
+ [calc]
+ if ([nitems] ne '0') {
+ return q(
<div>
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger">
[nitems]<span class="visually-hidden">items in cart</span>
@@ -53,7 +54,6 @@
</div>);
}
[/calc]
- </span>
</a>
</div>
</div>