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

Open in your IDE?
  1. <one-listing-cta
  2.     :listing='{
  3.     "phones":{{encodedSellerPhones|serialize('json')}},
  4.     "id": {{ listing.id }},
  5.     "is_favourite": {{ listing.isFavourite ? 1 : 0 }},
  6.     "note": `{{ listing.userNote|default('')}}`,
  7.     "listingTitle" : {{listing.title|serialize()}},
  8.     "locationTitle": {{listing.location.title|serialize()}},
  9.     "propertyTypeTitle": {{listing.propertyType.title|serialize()}},
  10.     "price": "{{listing.price}}",
  11.     "image": "{{ listingMainPhoto }}",
  12.     "pricePerMeter": "{{listing.calculatePricePerMeter }}",
  13.     "baths": "{{  listing_baths }}",
  14.     "rooms": "{{  listing_rooms }}",
  15.     "yearBuilt": "{{  listing_year_built }}",
  16.     "finishType": "{{  listing_finish_type }}",
  17.     "view": {{ listing.propertyViewLabel|trans|serialize() }},
  18.     "area": "{{listing.area}}",
  19.     }'
  20.     :show-call="false"
  21. >
  22. </one-listing-cta>