Remove product images

This commit is contained in:
2026-02-14 14:07:56 +01:00
parent 06b6faf2f3
commit 8cc9c77628
2 changed files with 5 additions and 5 deletions

View File

@@ -12,13 +12,13 @@
<div class="col-md-6 col-lg-4"> <div class="col-md-6 col-lg-4">
<div class="card h-100 border-0 shadow-sm"> <div class="card h-100 border-0 shadow-sm">
<a href="#" class="text-decoration-none text-dark"> <a href="#" class="text-decoration-none text-dark">
<!-- Product Image --> {#<!-- Product Image -->
<img <img
src="/static/img/{{ product.image_path if product.image_path else 'placeholder.jpg' }}" src="/static/img/{{ product.image_path if product.image_path else 'placeholder.jpg' }}"
alt="{{ product.name }}" alt="{{ product.name }}"
class="card-img-top img-fluid rounded-top" class="card-img-top img-fluid rounded-top"
style="height: 100px; object-fit: cover;" style="height: 100px; object-fit: cover;"
> >#}
<!-- Product Details --> <!-- Product Details -->
<div class="card-body"> <div class="card-body">
<h5 class="card-title mb-2">{{ product.name }}</h5> <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> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div> </div>
<div class="modal-body"> <div class="modal-body">
<!-- Product Image --> {#<!-- Product Image -->
<img <img
src="/static/img/{{ product.image_path if product.image_path else 'placeholder.jpg' }}" src="/static/img/{{ product.image_path if product.image_path else 'placeholder.jpg' }}"
alt="{{ product.name }}" alt="{{ product.name }}"
class="img-fluid rounded mb-3" class="img-fluid rounded mb-3"
style="max-height: 200px; width: 100%; object-fit: cover;" style="max-height: 200px; width: 100%; object-fit: cover;"
> >#}
<!-- Product Description --> <!-- Product Description -->
<p class="text-muted mb-3">{{ product.description }}</p> <p class="text-muted mb-3">{{ product.description }}</p>

View File

@@ -14,7 +14,7 @@
<p class="h3 mb-2 {% if account.balance < 0 %}text-danger{% else %}text-success{% endif %}"> <p class="h3 mb-2 {% if account.balance < 0 %}text-danger{% else %}text-success{% endif %}">
{{ account.balance | format_number }} € {{ account.balance | format_number }} €
</p> </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"> <div class="d-flex gap-2 mt-3">
<a href="/?account_id={{ account.id }}" class="btn btn-sm btn-outline-primary">Transaktionen ansehen</a> <a href="/?account_id={{ account.id }}" class="btn btn-sm btn-outline-primary">Transaktionen ansehen</a>
</div> </div>