src/Aqarmap/Bundle/ListingBundle/Resources/views/Listing/pop-up-message-mob.html.twig line 1

Open in your IDE?
  1. {% set leadSourcePage = leadSourcePage is defined ? leadSourcePage : 'listing_details' %}
  2. <div class="modal fade Pop-Up-modal" id="Pop-Up-modal-mob" tabindex="-1" role="dialog">
  3.     <div class="modal-dialog" role="document" >
  4.         <div class="modal-content">
  5.             <div class="container">
  6.                 <div class="page-header">
  7.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  8.                         <span aria-hidden="true">×</span>
  9.                     </button>
  10.                 </div>
  11.                 <div class="listing-phone-container listing-phone-container__bg-dark d-md-none">
  12.                     {% include "@AqarmapListingBundle/Listing/listingSellerPhone.html.twig" %}
  13.                 </div>
  14.                 {% if isEnabledFeature('web.similar.listings') %}
  15.                     <div ng-controller="similarListingController" >
  16.                         <div ng-content-loaded callback="getSimilarListingCount({{ listing.id }})">
  17.                             <div ng-if="allowSimilarListings()">
  18.                                 <div class="page-header border-top-gray">
  19.                                     <p class="custom-main-title">{{ 'layout.similar_listings.header_title'|trans }}</p>
  20.                                 </div>
  21.                                 <div class="page-header">
  22.                                     <p class="sub-text-head">{{ 'layout.similar_listings.more_results'|trans }}</p>
  23.                                     <p class="sub-text">
  24.                                         {{ 'layout.similar_listings.sub_text' |trans({'%count%': 'ng::similarListingCount::'})| raw }}
  25.                                     </p>
  26.                                     <button ng-click="sendCallRequest()" class="btn btn-round btn-default btn-md mt-4">
  27.                                         {{ 'label.lead.call_request'|trans }}
  28.                                     </button>
  29.                                 </div>
  30.                             </div>
  31.                         </div>
  32.                     </div>
  33.                 {% endif %}
  34.                 {% if topSearchableCompanies %}
  35.                     <div>
  36.                         <hr />
  37.                         <div class="page-header">
  38.                             <p class="custom-main-title">{{ 'pop_up_modal.get_help'|trans }}</p>
  39.                         </div>
  40.                         <div class="page-header">
  41.                             <p class="sub-text-head">{{ 'pop_up_modal.more_results'|trans }}</p>
  42.                             <p class="sub-text">
  43.                                 {{ 'pop_up_modal.top_location' |trans({'%location%': listing.location.title}) }}
  44.                             </p>
  45.                         </div>
  46.                         <div class="row">
  47.                             <div class="top-companies-container w-100" ng-controller="FeaturedCompaniesController">
  48.                                     <div ng-content-loaded callback="setTopCompaniesData({
  49.                                         'propertyType':'{{propertyType ? propertyType.id : 'null'}}',
  50.                                         'section':'{{section ? section.id : 'null'}}',
  51.                                         'location': '{{location ? location.id : 'null'}}'});"
  52.                                     >
  53.                                         {% include "@AqarmapListingBundle/Listing/topSellersList.html.twig" with {source : "pop-up-mob"} %}
  54.                                     </div>
  55.                                 <div class="request-call-btn col-lg-12 col-md-12 col-sm-12 col-xs-12">
  56.                                     <button class="btn btn-round btn-default btn-md"
  57.                                             ng-click="onSendRequest($event, 'gtm-action-topsellers-lead-popup-mobile', 'Top Sellers Popup Mobile',
  58.                                             {
  59.                                                     leadSourcePage: '{{leadSourcePage}}' ,
  60.                                             }
  61.                                             );">
  62.                                         {{ 'label.lead.call_request'|trans }}
  63.                                     </button>
  64.                                 </div>
  65.                             </div>
  66.                         </div>
  67.                     </div>
  68.                 {% endif %}
  69.                 {% if relatedListingsCount %}
  70.                     <div class="related-listing-modal">
  71.                         <div class="page-header header-carousel">
  72.                             <p class="custom-main-title">{{ 'layout.related_listings.title'|trans }}
  73.                             <div class="controls pull-right flip">
  74.                                 {% if relatedListingsCount > 1 %}
  75.                                 <a class="{% if app.request.get('_locale') == 'ar' %}right fa fa-chevron-right{% else %}left fa fa-chevron-left{% endif %}" href="#carousel-example-articles-pop-mobile" data-slide="prev"></a>
  76.                                 <a class="{% if app.request.get('_locale') == 'ar' %}left fa fa-chevron-left{% else %}right fa fa-chevron-right{% endif %}" href="#carousel-example-articles-pop-mobile" data-slide="next"></a>
  77.                                 {% endif %}
  78.                             </div>
  79.                             </p>
  80.                         </div>
  81.                         <div id="carousel-example-articles-pop-mobile" class="carousel slide" data-ride="carousel">
  82.                             <div class="carousel-inner">
  83.                                 {% for listing in related_listings %}
  84.                                     <div class="item {% if loop.first %} active {% endif %}">
  85.                                         <div class="row small-card">
  86.                                             <div class="col-lg-4 col-md-4 col-sm-4 col-xs-12">
  87.                                                 {% include '@AqarmapListingBundle/Listing/card.html.twig' with {'listing': listing, 'ref': 'people-also-viewed',  'source': 'related-listing'} %}
  88.                                             </div>
  89.                                         </div>
  90.                                     </div>
  91.                                 {% endfor %}
  92.                             </div>
  93.                         </div>
  94.                     </div>
  95.                 {% endif %}
  96.             </div>
  97.         </div>
  98.     </div>
  99. </div>