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 { .gallery-tn {
object-fit: cover; 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 }} {{ addBlock('ad-list/partials/gallery',{'featured_advs':featured_advs})|raw }}
{% for adv in advs %} {% for adv in advs %}
<div class="col-sm-6 col-md-4 col-lg-4 d-flex align-items-stretch"> <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;"> <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"> <div class="col-md-12 justify-content-center align-self-center">
<img class="card-img-top img-fluid img-thumbnail gallery-tn" <img class="card-img-top img-fluid img-thumbnail gallery-tn"
src="{{ adv.cover_photo }}" src="{{ adv.cover_photo }}"
@ -14,7 +14,7 @@
</a> </a>
</div> </div>
<div class="card-body"> <div class="card-body pt-0">
{% if setting_value('visiosoft.theme.base::price_fields') %} {% if setting_value('visiosoft.theme.base::price_fields') %}
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<b>{{ adv.price != '0' <b>{{ adv.price != '0'
@ -24,23 +24,23 @@
{% endif %} {% endif %}
<div class="d-flex justify-content-between align-items-center text-truncate"> <div class="d-flex justify-content-between align-items-center text-truncate">
<a href="{{ adv.detail_url }}"> <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> </a>
</div> </div>
{% if setting_value('visiosoft.module.location::home_page_location') %} {% if setting_value('visiosoft.module.location::home_page_location') %}
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<small> <span>
<i class="fas fa-location-arrow text-primary"></i> <i class="fas fa-location-arrow text-primary"></i>
{{ adv.city_name }}, {{ adv.country_name }} {{ adv.city_name }}, {{ adv.country_name }}
</small> </span>
</div> </div>
{% endif %} {% endif %}
{% if setting_value('visiosoft.theme.base::date_fields') %} {% if setting_value('visiosoft.theme.base::date_fields') %}
<div class="d-flex justify-content-between align-items-center"> <div class="d-flex justify-content-between align-items-center">
<small> <span>
<i class="far fa-clock text-dark"></i> <i class="far fa-clock text-dark"></i>
{{ adv.created_at|date('d/m/Y') }} {{ adv.created_at|date('d/m/Y') }}
</small> </span>
</div> </div>
{% endif %} {% endif %}
</div> </div>

File diff suppressed because one or more lines are too long

View File

@ -2,4 +2,5 @@
return [ return [
'valid_disk' => 'The configured upload disk for :attribute does not exist.', '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 [ return [
'valid_disk' => 'Yükleme diski :attribute için mevcut değil.', '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 class="modal-content"></div>
</div> </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") }} {{ asset_add("styles.css", "visiosoft.field_type.media::css/imgList.css") }}