Compare commits
4 commits
7501f53bb0
...
204ae348a9
Author | SHA1 | Date | |
---|---|---|---|
Jannis Portmann | 204ae348a9 | ||
9eca8d61f9 | |||
25d089cbdc | |||
1e9f1a2761 |
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue