mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-10 07:16:06 -06:00
remove blocks
This commit is contained in:
parent
654ec657f0
commit
7ed70ccdb2
@ -1,78 +1,71 @@
|
|||||||
<div class="slider-text">
|
<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="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
||||||
<h3 class="ad-price">
|
<div class="row">
|
||||||
<b>{{ adv.price.currency(null,'currency',false) }}</b>
|
<div class="col-md-12 m-2">
|
||||||
<!-- priceField with Block -->
|
<!-- Author with Block -->
|
||||||
{{ addBlock('ad-detail/priceField',{'adv':adv})|raw }}
|
{{ addBlock('ad-detail/author',{'adv':adv})|raw }}
|
||||||
<!-- priceField with Block -->
|
<!-- Author with Block -->
|
||||||
|
|
||||||
</h3>
|
{{ 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 }}
|
||||||
|
{{ addBlock('ad-detail/widget-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>
|
</div>
|
||||||
<div class="user-interactions">
|
|
||||||
|
|
||||||
|
<!-- 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="col-lg-12 col-md-12 col-sm-12 col-xs-12 offered-field offered-row">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12 m-2">
|
<div class="col-md-12 mt-2">
|
||||||
<!-- Author with Block -->
|
<h4><u>{{ trans('visiosoft.module.advs::field.contact_with') }}:</u></h4>
|
||||||
{{ 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>
|
||||||
<div class="col-md-12 m-2">
|
{{ contactWith|raw }}
|
||||||
<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 }}
|
|
||||||
{{ addBlock('ad-detail/widget-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>
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
<!-- Contact With Block -->
|
||||||
|
|
||||||
<!-- Contact With Block -->
|
<!-- social-links -->
|
||||||
{% set contactWith = addBlock('ad-detail/contact-with',{'adv':adv}) %}
|
<div class="social-links">
|
||||||
{% if contactWith != "" %}
|
{% include "visiosoft.module.advs::ad-detail/partials/social" %}
|
||||||
<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>
|
</div>
|
||||||
|
<!-- social-links -->
|
||||||
{% else %}
|
</div>
|
||||||
{{ blocks('ad-item-details-block-area') }}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user