#795 fixed show image for table mode

This commit is contained in:
vedatakd 2020-02-03 18:38:59 +03:00
parent c817e71a06
commit c41154dd0e
2 changed files with 19 additions and 4 deletions

View File

@ -28,4 +28,19 @@
max-height: 200px;
margin: auto;
margin-top: 10px;
}
.table-classified .td-image,
.table-classified .td-date {
min-width: 100px;
}
.table-classified .td-price {
min-width: 150px;
}
.table-classified .td-country,
.table-classified .td-subject {
min-width: 200px;
}

View File

@ -28,21 +28,21 @@
<img class="img-thumbnail" src="{{ adv.cover_photo }}" alt="{{ adv.name }}">
</a>
</td>
<td class="text-left justify-content-center align-middle">
<td class="text-left justify-content-center align-middle td-subject">
<div class="table-row-name">
<a href="{{ adv.detail_url }}" class="text-dark">
{{ adv.name }}
</a>
</div>
</td>
<td class="justify-content-center align-middle">
<td class="justify-content-center align-middle td-price">
<b>{{ adv.price.currency(null,'currency',false) }}</b>
</td>
<td class="justify-content-center align-middle">
<td class="justify-content-center align-middle td-date">
<small>{{ adv.created_at|date("d/m/Y") }}</small>
</td>
{% if setting_value('visiosoft.module.location::list_page_location') %}
<td class="justify-content-center align-middle">
<td class="justify-content-center align-middle td-country">
<small>{{ adv.city_name }} / {{ adv.country_name }}</small>
</td>
{% endif %}