mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
77 lines
3.3 KiB
Twig
77 lines
3.3 KiB
Twig
<div class="slider-text">
|
|
{% if blocks('ad-item-details-block-area') is null %}
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
|
<h3 class="ad-price">
|
|
<b>{{ adv.price.currency(null,'currency',false) }}</b>
|
|
<!-- priceField with Block -->
|
|
{{ addBlock('ad-detail/priceField',{'adv':adv})|raw }}
|
|
<!-- priceField with Block -->
|
|
|
|
</h3>
|
|
</div>
|
|
<div class="user-interactions">
|
|
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
|
<div class="row">
|
|
<div class="col-md-12 m-2">
|
|
<!-- Author with Block -->
|
|
{{ addBlock('ad-detail/author',{'adv':adv})|raw }}
|
|
<!-- Author with Block -->
|
|
|
|
{{ trans('visiosoft.module.advs::field.offered_by') }}:
|
|
<a id="owner"
|
|
href="{{ url_route('visiosoft.module.advs::list_user_ad', [adv.created_by_id]) }}"
|
|
data-content="{{ adv.owner_id }}"> {{ adv.first_name }} {{ adv.last_name }}
|
|
</a>
|
|
{{ addBlock('ad-detail/seller/action',{'seller_id':adv.owner_id})|raw }}
|
|
</div>
|
|
<div class="col-md-12 m-2">
|
|
<i class="fas fa-hashtag"></i>
|
|
{{ trans('visiosoft.module.advs::field.ad_id') }}:{{ adv.id }}
|
|
</div>
|
|
<div class="col-md-12 m-2">
|
|
<i class="far fa-clock text-dark"></i>
|
|
{{ adv.created_at|date('d/m/Y') }}
|
|
</div>
|
|
|
|
<!-- Detail With Block -->
|
|
{{ addBlock('ad-detail/details',{'adv':adv})|raw }}
|
|
<!-- Detail With Block -->
|
|
|
|
{% if adv.isCorporate == 2 %}
|
|
<div class="col-md-12 m-2">
|
|
<i class="fa fa-suitcase"></i>
|
|
<a href="{{ url_route('visiosoft.module.advs::list_user_ad',
|
|
[adv.created_by_id]) }}"> {{ adv.first_name }} {{ adv.last_name }}</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Contact With Block -->
|
|
{% set contactWith = addBlock('ad-detail/contact-with',{'adv':adv}) %}
|
|
{% if contactWith != "" %}
|
|
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
|
<div class="row">
|
|
<div class="col-md-12 mt-2">
|
|
<h4><u>{{ trans('visiosoft.module.advs::field.contact_with') }}:</u></h4>
|
|
</div>
|
|
{{ contactWith|raw }}
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
<!-- Contact With Block -->
|
|
|
|
<!-- social-links -->
|
|
<div class="social-links">
|
|
{% include "visiosoft.module.advs::ad-detail/partials/social" %}
|
|
</div>
|
|
<!-- social-links -->
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
{{ blocks('ad-item-details-block-area') }}
|
|
{% endif %}
|
|
|
|
</div> |