Merge pull request #100 from openclassify/samett

Samett
This commit is contained in:
Fatih Alp 2019-10-10 12:58:27 +03:00 committed by GitHub
commit 4f7adedfe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 17 additions and 10 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

@ -325,7 +325,7 @@
<!-- ad-info -->
<div class="ad-info">
<h3 class="item-price">{{ advs.price.format() }} {{ advs.currency }}</h3>
<h4 class="item-title"><a
<h4 class="item-title bengali"><a
href="{{ advs.detail_url }}">{{ advs.title|slice(0,50) }}</a>
</h4>
</div><!-- ad-info -->

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 %}