Merge pull request 'dev' (#20) from dev into main
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/promote/production Build is passing

Reviewed-on: #20
This commit is contained in:
Jannis Portmann 2023-09-18 11:43:41 +02:00
commit 204ae348a9
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>