# Conflicts:
#	addons/default/visiosoft/advs-module/resources/views/advs/list-item.twig
This commit is contained in:
vedatakd 2019-10-10 14:39:55 +03:00
commit 6d3212e5fc
6 changed files with 20 additions and 23 deletions

View File

@ -217,7 +217,8 @@ return [
"featured_ads" => "Öne Çıkan İlanlar",
"trending_ads" => "Trendind Ads",
"search_ads_result_message" => [
"name" => ": araması için bulunan İlanları sayısı:ad araması",
"name" => ":name aramanızda :count adet ilan bulunmuştur.
",
],
"total" => "Genel Toplam",

View File

@ -76,23 +76,13 @@
{% if blocks('ad-item-content-block-area') is null %}
{% include "visiosoft.module.advs::advs/partials/blocks/ads-item-content-block" %}
{% else %}
{{ blocks('ad-item-content-block-area','adasdasda') }}
{{ blocks('ad-item-content-block-area') }}
{% endif %}
{% if entries('advs').isEnabled('recommendedads') %}
{% include "visiosoft.module.recommendedads::recommended-ads" %}
{% endif %}
<div class="recommended-info">
<div class="row">
<div class="col-sm-8">
</div><!-- recommended-ads -->
<div class="col-sm-4 text-center">
</div><!-- recommended-cta-->
</div><!-- row -->
</div><!-- recommended-info -->
</div><!-- container -->
</section>

View File

@ -97,7 +97,7 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ adv.price }} {{ adv.currency }}</h3>
<h4 class="item-title"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<h4 class="item-title bengali"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<div class="item-cat">
<span><a href="#">{{ adv.cat1_name }}</a></span>
{% if adv.cat2_name != "" %}
@ -158,7 +158,7 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ adv.price }} {{ adv.currency }}</h3>
<h4 class="item-title"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<h4 class="item-title bengali"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<div class="item-cat">
<span><a href="#">{{ adv.cat1_name }}</a></span>
{% if adv.cat2_name != "" %}

View File

@ -212,6 +212,12 @@
width: 47%;
}
.bengali{
overflow: hidden;
display: -webkit-box!important;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}

View File

@ -26,7 +26,7 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ adv.priceFormat(adv) }} {{ adv.currency }}</h3>
<h4 class="item-title"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<h4 class="item-title bengali"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<div class="item-cat">
{% set cats = entries('advs','categories').where('parent_category_id', null).where('deleted_at', null).orderBy('order').get() %} {% for cat in cats %}
{% if cat.id == adv.cat1[0].value %}
@ -77,7 +77,7 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ adv.priceFormat(adv) }}{{ adv.currency }}</h3>
<h4 class="item-title"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<h4 class="item-title bengali"><a href="{{ adv.detail_url }}">{{ adv.name }}</a></h4>
<div class="item-cat">
{% for cat in cats %}
{% if cat.id == adv.cat1[0].value %}

View File

@ -119,7 +119,7 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ adv.priceFormat(adv) }} {{ adv.currency }}</h3>
<h4 class="item-title"><a
<h4 class="item-title bengali"><a
href="{{ adv.detail_url }}">
{{ substr(adv.name,0,25) }}
{% if adv.name|length > 25 %}...{% endif %}</a></h4>
@ -210,7 +210,7 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ adv.priceFormat(adv) }} {{ adv.currency }}</h3>
<h4 class="item-title"><a
<h4 class="item-title bengali"><a
href="{{ adv.detail_url }}">{{ adv.name }}</a>
</h4>
<div class="item-cat">
@ -278,8 +278,8 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ adv.priceFormat(adv) }}{{ adv.currency }}</h3>
<h4 class="item-title"><a
href="{{ adv.detail_url }}">{{ adv.name }}</a>
<h4 class="item-title bengali" style="word-wrap: break-word"><a
href="{{ adv.detail_url }}">{{ adv.name }}</a>
</h4>
<div class="item-cat">
{% for cat in cats %}