src/Aqarmap/Bundle/ListingBundle/Resources/views/Listing/OnCloseListingPopup.html.twig line 1

  1. <div class="modal bd-example-modal-lg medium easy-access modal-box px-0"
  2. id="on-close-popup"
  3. tabindex="-1"
  4. role="dialog"
  5. ng-controller="onClosePopupController"
  6. >
  7. <div class="modal-dialog" role="document" ng-content-loaded callback="initOnShowPopup()" >
  8. <div class="modal-content modal-box__content modal-box__content_md">
  9. <div class="modal-box__header modal-lg">
  10. <span class="modal-box__title">
  11. {{ 'layout.related_listings.title'|trans }}
  12. </span>
  13. <button type="button"
  14. class="modal-close modal-box__close"
  15. data-dismiss="modal"
  16. ng-click="onClosePopupClosed()">
  17. <img src="/images/close_dark_gray.svg" width="24" height="24"/>
  18. </button>
  19. </div>
  20. <div class="modal-box__body pt-0">
  21. <div class="modal-box__body-content modal-box__body-content modal-box__body-content_scrolled modal-box__body-content_px-2x ">
  22. <p class="modal-box__text pt-xl">
  23. {{ 'layout.related_listings.text'|trans }}
  24. </p>
  25. <div class="row">
  26. {% include "@AqarmapListing/ListingSearch/listingCardHorizontal.html.twig" with {'listings': related_listings, 'mainListing': listing, 'isRelatedToListing': true, 'defaultResults' : false, 'topSellersResults' : false, 'isRelatedResults' : false, 'source': 'onclose-popup-card'}%}
  27. </div>
  28. <div class="modal-box__link modal-box__link_bottom">
  29. <a href="{{ path('search', {'section_slug': listing.section.slug, 'property_type_slug': listing.propertyType.slug, 'location_slug': listing.location.slug}) }}"
  30. target="_blank"
  31. ng-click="onSeeMoreClick()">
  32. {{ 'layout.related_listings.view_more'|trans }}
  33. </a>
  34. </div>
  35. </div>
  36. <div class="modal-box__footer text-center" ng-controller="bulkQuickLeadController">
  37. <div class="mb-0 w-100" >
  38. {% include "@AqarmapListing/Listing/bulkListingsCta.html.twig" with {'listings' : related_listings } %}
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>