diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig index 4348ceced..ab26ee08f 100644 --- a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig @@ -35,14 +35,16 @@ {{ addBlock('ad-detail/seller/action',{'seller_id':adv.owner_id})|raw }} -
#{{ adv.id }}
{{ adv.country_name}} / {{ adv.city_name }}
+{{ adv.country_name }} / {{ adv.city_name }}
+ {% endif %} + {% if setting_value('visiosoft.module.advs::market_place') %} +{{ adv.publish_at.value|date('d/m/Y') }}
{% endif %} -{{ adv.publish_at.value|date('d F Y') }}
| {{ trans('visiosoft.module.advs::field.ad_title') }} | - {% if listLocation %} -- {{ trans('visiosoft.module.advs::field.city.name') }} / {{ trans('visiosoft.module.advs::field.district.name') }} - | - {% endif %} +||||||
|---|---|---|---|---|---|---|---|
| {{ trans('visiosoft.module.advs::field.ad_title') }} | + {% if listLocation %} ++ {{ trans('visiosoft.module.advs::field.city.name') }} + / {{ trans('visiosoft.module.advs::field.district.name') }} + | + {% endif %} + {% if setting_value('visiosoft.module.advs::market_place') %}{{ trans('visiosoft.module.advs::field.listing_date') }} | -{{ trans('visiosoft.module.advs::field.price.name') }} | -{{ trans('visiosoft.module.advs::field.price.name') }} | + - {{ addBlock('ad-list/partials/ads', {'featured_advs': featured_advs, 'vars': _context})|raw }} + {{ addBlock('ad-list/partials/ads', {'featured_advs': featured_advs, 'vars': _context})|raw }} - {% for adv in advs %} -|||
-
-
-
+ {% for adv in advs %}
+ | |||||||
+
+
+
+ |
+
+ + {{ adv.name }} ++{{ adv.cat1_name }} /{{ adv.cat2_name }} +
+
+ {{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context})|raw }}
+
+
+ |
+ {% if listLocation %}
+
+ {{ adv.country_name }} +{{ adv.city_name }} |
-
- #{{ adv.id }} -- {{ adv.name }} --{{ adv.cat1_name }} /{{ adv.cat2_name }} -
-
- {{ addBlock('list/extra-actions', {'ad': adv, 'vars': _context})|raw }}
-
-
- |
- {% if listLocation %}
-
- {{ adv.country_name }} -{{ adv.city_name }} - |
- {% endif %}
+ {% endif %}
+ {% if setting_value('visiosoft.module.advs::market_place') %}
- {{ adv.publish_at.value|date('d F') }} +{{ adv.publish_at.value|date('d/m') }} {{ adv.publish_at.value|date('Y') }} |
-
- {% if not hideStandard %}
-
- |
+ {% if not hideStandard %}
- {{ adv.price != '0' ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
+ |
-