Remove product images
This commit is contained in:
@@ -12,13 +12,13 @@
|
||||
<div class="col-md-6 col-lg-4">
|
||||
<div class="card h-100 border-0 shadow-sm">
|
||||
<a href="#" class="text-decoration-none text-dark">
|
||||
<!-- Product Image -->
|
||||
{#<!-- Product Image -->
|
||||
<img
|
||||
src="/static/img/{{ product.image_path if product.image_path else 'placeholder.jpg' }}"
|
||||
alt="{{ product.name }}"
|
||||
class="card-img-top img-fluid rounded-top"
|
||||
style="height: 100px; object-fit: cover;"
|
||||
>
|
||||
>#}
|
||||
<!-- Product Details -->
|
||||
<div class="card-body">
|
||||
<h5 class="card-title mb-2">{{ product.name }}</h5>
|
||||
@@ -47,13 +47,13 @@
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<!-- Product Image -->
|
||||
{#<!-- Product Image -->
|
||||
<img
|
||||
src="/static/img/{{ product.image_path if product.image_path else 'placeholder.jpg' }}"
|
||||
alt="{{ product.name }}"
|
||||
class="img-fluid rounded mb-3"
|
||||
style="max-height: 200px; width: 100%; object-fit: cover;"
|
||||
>
|
||||
>#}
|
||||
|
||||
<!-- Product Description -->
|
||||
<p class="text-muted mb-3">{{ product.description }}</p>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<p class="h3 mb-2 {% if account.balance < 0 %}text-danger{% else %}text-success{% endif %}">
|
||||
{{ account.balance | format_number }} €
|
||||
</p>
|
||||
{% if not focused_account or (focused_account.id != account.id) %}
|
||||
{% if user.accounts|length > 1 and (not focused_account or (focused_account.id != account.id)) %}
|
||||
<div class="d-flex gap-2 mt-3">
|
||||
<a href="/?account_id={{ account.id }}" class="btn btn-sm btn-outline-primary">Transaktionen ansehen</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user