mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
Merge pull request #1071 from openclassify/muammertop
#3981 igamkoop requests
This commit is contained in:
commit
c12c97d50e
@ -39,8 +39,8 @@
|
|||||||
{% if showLocation %}
|
{% if showLocation %}
|
||||||
<p class="location-data">{{ adv.country_name }} / {{ adv.city_name }}</p>
|
<p class="location-data">{{ adv.country_name }} / {{ adv.city_name }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if setting_value('visiosoft.module.advs::market_place') %}
|
{% if setting_value('visiosoft.module.advs::market_place') and showDate %}
|
||||||
<p class="date-data">{{ adv.publish_at.value|date('d/m/Y') }}</p>
|
<p class="date-data">{{ adv.publish_at.value|date('d/m/Y') }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -1,11 +1,12 @@
|
|||||||
{% set hideStandard = setting_value('visiosoft.module.advs::hide_listing_standard_price') %}
|
{% set hideStandard = setting_value('visiosoft.module.advs::hide_listing_standard_price') %}
|
||||||
{% set listLocation = setting_value('visiosoft.module.location::list_page_location') %}
|
{% set listLocation = setting_value('visiosoft.module.location::list_page_location') %}
|
||||||
|
{% set showDate = setting_value('visiosoft.theme.base::date_fields') %}
|
||||||
|
|
||||||
<div id="listing" class="w-100 table-responsive">
|
<div id="listing" class="w-100 table-responsive">
|
||||||
<table class="w-100 text-center">
|
<table class="w-100 text-center">
|
||||||
<thead>
|
<thead>
|
||||||
<tr class="text-white">
|
<tr class="text-white">
|
||||||
<th class="text-nowrap" colspan="3">{{ trans('visiosoft.module.advs::field.ad_title') }}</th>
|
<th class="text-nowrap" colspan="2">{{ trans('visiosoft.module.advs::field.ad_title') }}</th>
|
||||||
|
|
||||||
{% for cF in listingCFs %}
|
{% for cF in listingCFs %}
|
||||||
<th class="text-nowrap">{{ cF.name }}</th>
|
<th class="text-nowrap">{{ cF.name }}</th>
|
||||||
@ -17,6 +18,9 @@
|
|||||||
/ {{ trans('visiosoft.module.advs::field.district.name') }}
|
/ {{ trans('visiosoft.module.advs::field.district.name') }}
|
||||||
</th>
|
</th>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if setting_value('visiosoft.module.advs::market_place') and showDate %}
|
||||||
|
<th class="text-nowrap">{{ trans('visiosoft.module.advs::field.date.name') }}</th>
|
||||||
|
{% endif %}
|
||||||
<th class="text-nowrap">{{ trans('visiosoft.module.advs::field.price.name') }}</th>
|
<th class="text-nowrap">{{ trans('visiosoft.module.advs::field.price.name') }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -58,7 +62,7 @@
|
|||||||
<p>{{ adv.city_name }}</p>
|
<p>{{ adv.city_name }}</p>
|
||||||
</td>
|
</td>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if setting_value('visiosoft.module.advs::market_place') %}
|
{% if setting_value('visiosoft.module.advs::market_place') and showDate%}
|
||||||
<td class="date-data">
|
<td class="date-data">
|
||||||
<p>{{ adv.publish_at.value|date('d/m') }}</p>
|
<p>{{ adv.publish_at.value|date('d/m') }}</p>
|
||||||
<p>{{ adv.publish_at.value|date('Y') }}</p>
|
<p>{{ adv.publish_at.value|date('Y') }}</p>
|
||||||
|
|||||||
@ -30,7 +30,9 @@
|
|||||||
<img src="{{ adv.cover_photo }}" alt="{{ adv.name }}" class="rounded-sm">
|
<img src="{{ adv.cover_photo }}" alt="{{ adv.name }}" class="rounded-sm">
|
||||||
<div class="ml-3 mt-1">
|
<div class="ml-3 mt-1">
|
||||||
<h6 class="mb-1">{{ adv.name }}</h6>
|
<h6 class="mb-1">{{ adv.name }}</h6>
|
||||||
<p class="mb-1">{{ adv.country_name }} / {{ adv.city_name }}</p>
|
{% if listLocation %}
|
||||||
|
<p class="mb-1">{{ adv.country_name }} / {{ adv.city_name }}</p>
|
||||||
|
{% endif %}
|
||||||
<p>{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}</p>
|
<p>{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user