Add block reverted, fav buttons are working. Other problems was fixed.

This commit is contained in:
YosefGul 2021-12-02 21:43:52 +03:00
parent 10aa92a273
commit f79e370c02
3 changed files with 12 additions and 6 deletions

View File

@ -13,9 +13,8 @@
<div class="col-xl-4 col-lg-6">
<a href="{{ adv.detail_url }}" class="w-100 p-0 d-flex flex-column">
<div class="d-flex flex-column product-hb border shadow-sm rounded">
<div class="heart-icon d-flex align-items-center justify-content-center shadow-sm">
<i class="far fa-heart"></i>
</div>
{{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context}, ['favs', 'comparisons'])|raw }}
<div class="product-image-hb">
<img class="product-image-in" src="{{ adv.cover_photo }}" alt="{{ adv.name }}">
</div>
@ -26,9 +25,9 @@
{% if showPrice %}
<div class="product-price-hb font-weight-bold mt-2 text-dark">
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
<span>TL</span>
</div>
{% endif %}
</div>
</div>
</a>

View File

@ -85,3 +85,11 @@
.tl-span {
font-size: 14px;
}
.like {
color: rgb(109, 109, 109) !important;
}
.unlike {
color: red !important;
}

View File

@ -93,8 +93,7 @@
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"symfony/css-selector": "3.1.*",
"symfony/dom-crawler": "3.1.*",
"anomaly/installer-module": "~2.4.0"
"symfony/dom-crawler": "3.1.*"
},
"repositories": [
{