mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-05 14:41:19 +00:00
Improve product card display on counter click
This commit is contained in:
parent
43768f1691
commit
43f47e2087
@ -203,7 +203,6 @@
|
||||
<div class="row gap-2x">
|
||||
{% for product in categories[category] -%}
|
||||
<button class="card shadow" @click="addToBasketWithMessage('{{ product.id }}', 1)">
|
||||
<strong class="card-title">{{ product.name }}</strong>
|
||||
<img
|
||||
class="card-image"
|
||||
alt="image de {{ product.name }}"
|
||||
@ -213,7 +212,10 @@
|
||||
src="{{ static('core/img/na.gif') }}"
|
||||
{% endif %}
|
||||
/>
|
||||
<span class="card-content">{{ product.price }} €<br>{{ product.code }}</span>
|
||||
<span class="card-content">
|
||||
<strong class="card-title">{{ product.name }}</strong>
|
||||
<p>{{ product.price }} €<br>{{ product.code }}</p>
|
||||
</span>
|
||||
</button>
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user