commit
204ae348a9
|
@ -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