Merge pull request #871 from openclassify/muammertop

#2915 E-maden works
This commit is contained in:
spektra2147 2020-12-21 16:01:12 +03:00 committed by GitHub
commit 77954bf95e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 9 deletions

View File

@ -220,4 +220,8 @@ a.sort-by-open-dropdown:hover {
.gallery-tn {
object-fit: cover;
}
#listFilterForm .card-header {
padding: 5px 0;
}

View File

@ -3,9 +3,9 @@
{{ addBlock('ad-list/partials/gallery',{'featured_advs':featured_advs})|raw }}
{% for adv in advs %}
<div class="col-sm-6 col-md-4 col-lg-4 d-flex align-items-stretch">
<div class="card mb-4 box-shadow {% if adv.doping != null %} doping_type4 {% endif %}">
<div class="card mb-4 box-shadow {% if adv.doping != null %} doping_type4 {% endif %} w-100">
<div class="row p-2" style="min-height: 150px;">
<a href="{{ adv.detail_url }}">
<a href="{{ adv.detail_url }}" class="w-100">
<div class="col-md-12 justify-content-center align-self-center">
<img class="card-img-top img-fluid img-thumbnail gallery-tn"
src="{{ adv.cover_photo }}"
@ -14,7 +14,7 @@
</a>
</div>
<div class="card-body">
<div class="card-body pt-0">
{% if setting_value('visiosoft.theme.base::price_fields') %}
<div class="d-flex justify-content-between align-items-center">
<b>{{ adv.price != '0'
@ -24,23 +24,23 @@
{% endif %}
<div class="d-flex justify-content-between align-items-center text-truncate">
<a href="{{ adv.detail_url }}">
<p class="card-title d-inline-block">{{ adv.name }}</p>
<p class="card-title d-inline-block mb-1">{{ adv.name }}</p>
</a>
</div>
{% if setting_value('visiosoft.module.location::home_page_location') %}
<div class="d-flex justify-content-between align-items-center">
<small>
<span>
<i class="fas fa-location-arrow text-primary"></i>
{{ adv.city_name }}, {{ adv.country_name }}
</small>
</span>
</div>
{% endif %}
{% if setting_value('visiosoft.theme.base::date_fields') %}
<div class="d-flex justify-content-between align-items-center">
<small>
<span>
<i class="far fa-clock text-dark"></i>
{{ adv.created_at|date('d/m/Y') }}
</small>
</span>
</div>
{% endif %}
</div>

File diff suppressed because one or more lines are too long

View File

@ -2,4 +2,5 @@
return [
'valid_disk' => 'The configured upload disk for :attribute does not exist.',
'unsupported' => 'This area is for image files only. You can add different file types in the description field.'
];

View File

@ -2,4 +2,5 @@
return [
'valid_disk' => 'Yükleme diski :attribute için mevcut değil.',
'unsupported' => 'Bu alan sadece resim dosyaları içindir. Farklı dosya türlerini açıklama alanına ekleyebilirsiniz.'
];

View File

@ -23,4 +23,8 @@
<div class="modal-content"></div>
</div>
</div>
<script>
var unsupportedFile = '{{ trans('visiosoft.field_type.media::validation.unsupported') }}'
</script>
{{ asset_add("styles.css", "visiosoft.field_type.media::css/imgList.css") }}