dev #20

Merged
thisfro merged 3 commits from dev into main 2023-09-18 11:43:41 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@
<div class="card h-100 p-0">
<a href="{% url 'offer_detail' offer.id %}">
{% if offer.image %}
<img class="card-img-top offer-img" src="{{ offer.image.url }}"/>
<img class="card-img-top offer-img" src="{{ offer.image.url }}" />
{% else %}
<img class="card-img-top offer-img" src="{% static 'placeholder.jpg' %}" />
{% endif %}
@ -45,7 +45,7 @@
</h5>
</div>
</a>
<div class="card-footer d-flex justify-content-between">
<div class="card-footer d-flex justify-content-between mt-auto">
<a href="{% url 'user_detail' offer.user.id %}">
<i class="fas fa-user mt-3"></i> {{ offer.user.username }}
</a>

View file

@ -36,7 +36,7 @@
</h5>
</div>
</a>
<div class="card-footer d-flex justify-content-between">
<div class="card-footer d-flex justify-content-between mt-auto">
<a href="{% url 'user_detail' offer.user.id %}">
<i class="fas fa-user mt-3"></i> {{ offer.user.username }}
</a>