{"id":7046,"date":"2017-04-30T19:57:07","date_gmt":"2017-04-30T19:57:07","guid":{"rendered":"https:\/\/lindasbeach.wpengine.com\/?page_id=7046"},"modified":"2017-04-30T19:57:07","modified_gmt":"2017-04-30T19:57:07","slug":"favorites","status":"publish","type":"page","link":"https:\/\/lindasbeach.com\/favorites\/","title":{"rendered":"Favorites"},"content":{"rendered":"<div id=\"primary\" class=\"content-area\" ng-controller=\"PropertyController as pCtrl\">\n\t<div id=\"favorites-page\" ng-init=\";loadFavorites();\" class=\"row\">\n    <div ng-if=\"propertiesObj.length > 0\">\n      <div class=\"c-results-filters row\">\n              <\/div>\n\n      <div class=\"col-xs-12 loading\" ng-show=\"loading\">\n        <i class=\"fa fa-circle-o-notch fa-spin\"><\/i> Loading...      <\/div>      \n\n            <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12\" ng-repeat=\"property in propertiesObj | limitTo: limit as results\">\n        <div class=\"c-property-listings__item listing-1 col-xs-12 col-sm-12 col-lg-12\"\n  ng-mouseenter=\"highlightIcon(property.id)\"\n  ng-mouseleave=\"restoreIcon(property.id)\">\n  \n  <div class=\"c-property c-property--listing-1\">\n    <div class=\"c-property__header\">\n      <h3 class=\"c-property__heading\">\n        <a class=\"u-truncate\"  ng-href=\"{[goToProperty(property.seo_page_name, search.start_date, search.end_date, search.occupants, search.occupants_small, search.pets, property.sale_enabled)]}\" ng-bind=\"getUnitName(property)\" ng-click=\"addToRecents(property)\" target=\"_parent\"><\/a>\n      <\/h3>\n\n      <span class=\"c-property__location u-truncate\" ng-if=\"!isEmptyObject(property.location_area_id)\" ng-bind=\"property.location_area_name\"><\/span>\n\n      <div class=\"c-star-rating\" ng-if=\"property.rating_average > 0\">\n\t  <!--<div class=\"c-star-rating\" ng-if=\"property.rating_count > 0\">-->\n        <div class=\"c-star-rating__stars\" star-rating rating-value=\"property.rating_average\" data-max=\"5\"><\/div>\n        <span class=\"c-star-rating__count\" ng-bind=\"'(' + (property.rating_count | pluralizeRating) + ')'\"><\/span>\n      <\/div>\n      <div class=\"c-star-rating\" ng-if=\"!property.rating_average > 0\">\n\t\t<!--<div class=\"c-star-rating\" ng-if=\"!property.rating_count > 0\">-->\n        <span class=\"c-star-rating__count\">No reviews<\/span>\n      <\/div>\n    <\/div>\n    \n    <div class=\"c-property__img\">\n      <span class=\"c-property__pet-icon js-petFriendly\" ng-if=\"property.max_pets > 0\" data-toggle=\"tooltip\" data-placement=\"left\" title=\"Pet friendly\"><i class=\"fa fa-paw\"><\/i><\/span>\n\n              <a ng-if=\"!checkFavorites(property)\" class=\"c-property__fav-btn js-btnFav\" ng-click=\"addToFavorites(property)\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"Add to favorites\">\n        <i class=\"fa fa-heart-o\"><\/i><\/a>\n\n        <a ng-if=\"checkFavorites(property)\" class=\"c-property__fav-btn js-btnFav\" ng-click=\"removeFromFavorites(property)\" data-toggle=\"tooltip\" data-placement=\"right\" title=\"Remove from favorites\">\n        <i class=\"fa fa-heart\"><\/i><\/a>\n      \n      <a class=\"c-property__img-link\" ng-href=\"{[goToProperty(property.seo_page_name, search.start_date, search.end_date, search.occupants, search.occupants_small, search.pets, property.sale_enabled)]}\" ng-click=\"addToRecents(property)\" target=\"_parent\">\n        <img ng-src=\"{[property.default_thumbnail_path]}\"\n        err-src=\"https:\/\/lindasbeach.com\/wp-content\/plugins\/streamline-core\/assets\/images\/dummy-image.jpg\"\n        ng-alt=\"{[property.location_name]}\"\/>\n      <\/a>\n    <\/div>\n    \n    <div class=\"c-property__body\">\n      <ul class=\"c-property__details\">\n        <li class=\"c-property__details-item c-property__details-item--icon\" data-toggle=\"tooltip\" data-placement=\"left\" title=\"Sleeps: {[property.max_occupants]}\">\n        <i class=\"fa fa-group\"><\/i> <span ng-bind=\"property.max_occupants\"><\/span>\n        <\/li>\n        <li class=\"c-property__details-item c-property__details-item--icon\" data-toggle=\"tooltip\" data-placement=\"left\" title=\"Bedrooms: {[property.bedrooms_number]}\">\n        <i class=\"fa fa-hotel\"><\/i> <span ng-bind=\"property.bedrooms_number\"><\/span>\n        <\/li>\n        <li class=\"c-property__details-item c-property__details-item--icon\" data-toggle=\"tooltip\" data-placement=\"left\" title=\"Bathrooms: {[property.bathrooms_number]}\">\n        <i class=\"fa fa-bath\"><\/i> <span ng-bind=\"property.bathrooms_number\"><\/span>\n        <\/li>\n      <\/ul>\n      <div class=\"c-property__cost\" ng-if=\"!isSimplePricing(property)\">\n        <del ng-if=\"property.coupon_discount > 0\" ng-bind=\"getOldPrice(property,0)\"><\/del>\n        <span ng-bind=\"getTotalPrice(property,0)\"><\/span>\n        <small ng-bind=\"getTotalAppend(property)\"><\/small>\n      <\/div>\n      <div class=\"c-property__cost\" ng-if=\"isSimplePricing(property)\">        \n        <small ng-bind=\"getPrependTex(property.price_data)\"><\/small>        \n        <span ng-if=\"searchSettings.manualPricing !== 1 || !property.daily_pricing_starting\" ng-bind=\"getSimplePrice(property.price_data,0)\"><\/span>\n        <span ng-if=\"searchSettings.manualPricing === 1\" ng-bind=\"property.daily_pricing_starting\"><\/span>\n        <small ng-bind=\"getAppendTex(property.price_data)\"><\/small>\n      <\/div>\n\n      <div ng-if=\"isString(property.restriction_message)\">\n        <p class=\"c-property__restriction-msg text-danger\" ng-bind-html=\"property.restriction_message | trustedHtml\"><\/p>\n      <\/div>\n    <\/div>\n    \n  <\/div>\n  \n<\/div>\n      <\/div> \n    <\/div>\t\t   \n\t<\/div>\n  <div ng-if=\"propertiesObj.length == 0\" ng-cloak>\n    <div class=\"alert alert-danger\">\n      <p>\n        Your favorite list is empty      <\/p>\n    <\/div>\n  <\/div>\n  \n  <div class=\"modal fade\" id=\"modalFav\" tabindex=\"-2\" role=\"dialog\" aria-labelledby=\"modalFavLabel\">\n    <div class=\"modal-dialog modal-md\" role=\"document\">\n      <div class=\"modal-content\">\n        <form method=\"post\" name=\"resortpro_save_fav\" novalidate>\n          <div class=\"modal-header\">\n            <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n              <span aria-hidden=\"true\">&times;<\/span>\n            <\/button>\n            <h4 class=\"modal-title\" id=\"modalFavLabel\">Save favorites<\/h4>\n          <\/div>\n\n          <div class=\"modal-body\">          \n            <div class=\"form-group\">\n              <div class=\"row\">\n                <div class=\"col-md-6\">\n                  <input type=\"text\" class=\"form-control\"\n                          name=\"favorites_first_name\"\n                          id=\"favorites_first_name\"\n                          placeholder=\"Name\"\n                          ng-required=\"true\"\n                          ng-model=\"favorites.first_name\"\/>\n                  <div ng-show=\"resortpro_save_fav.$submitted || resortpro_save_fav.inquiry_first_name.$touched\">\n                    <span class=\"error\" ng-show=\"resortpro_save_fav.favorites_first_name.$error.required\" ng-bind=\"'First name is required.'\"><\/span>\n                  <\/div>\n                <\/div>\n                <div class=\"col-md-6\">\n                  <input type=\"text\" class=\"form-control\"\n                          name=\"favorites_last_name\"\n                          id=\"favorites_last_name\"\n                          placeholder=\"Last Name\"\n                          ng-required=\"true\"\n                          ng-model=\"favorites.last_name\"\/>\n                  <div ng-show=\"resortpro_save_fav.$submitted || resortpro_save_fav.favorites_last_name.$touched\">\n                    <span class=\"error\" ng-show=\"resortpro_save_fav.favorites_last_name.$error.required\" ng-bind=\"'Last name is required.'\"><\/span>\n                  <\/div>\n                <\/div>\n              <\/div>\n            <\/div>\n            <div class=\"form-group\">\n              <div class=\"row\">\n                <div class=\"col-md-6\">\n                  <input type=\"text\" class=\"form-control\"\n                          name=\"favorites_email\"\n                          id=\"favorites_email\"\n                          placeholder=\"Email\"\n                          ng-required=\"true\"\n                          ng-model=\"favorites.email\"\/>\n\n                  <div ng-show=\"resortpro_save_fav.$submitted || resortpro_save_fav.favorites_email.$touched\">\n                    <span class=\"error\" ng-show=\"resortpro_save_fav.favorites_email.$error.required && resortpro_save_fav.inquiry_phone.$error.required\" ng-bind=\"'Email or phone is required.'\"><\/span>\n                    <span class=\"error\" ng-show=\"resortpro_save_fav.favorites_email.$error.email\" ng-bind=\"'This is not a valid email.'\"><\/span>\n                  <\/div>\n                <\/div>\n                <div class=\"col-md-6\">\n                  <input type=\"text\" class=\"form-control\"\n                          name=\"favorites_phone\"\n                          id=\"favorites_phone\"\n                          placeholder=\"Phone\"\n                          ng-required=\"true\"\n                          ng-model=\"favorites.phone\"\/>\n                  <div ng-show=\"resortpro_save_fav.$submitted || resortpro_save_fav.favorites_phone.$touched\">\n                    <span class=\"error\" ng-show=\"resortpro_save_fav.favorites_email.$error.required && resortpro_save_fav.favorites_phone.$error.required\" ng-bind=\"'Phone or email is required.'\"><\/span>\n                  <\/div>\n                <\/div>\n              <\/div>\n            <\/div>\n            <div class=\"form-group\" ng-init=\"favorites.startDate='';favorites.endDate='';favorites.message='';\">\n              <div class=\"row\">\n                <div class=\"col-md-6 col-xs-6 col-sm-6\">\n                  <div class=\"input-group\">\n                    <input type=\"text\" class=\"form-control datepicker-input\"\n                            name=\"favorites_startdate\"\n                            id=\"favorites_startdate\"\n                            placeholder=\"Checkin\"\n                            data-bindpicker=\"#favorites_enddate\"                        \n                            ng-required=\"true\"\n                            ng-model=\"favorites.startDate\"\/>\n                    <span class=\"input-group-btn\"><a class=\"btn btn-primary btn-calendar-in\" href=\"#\"><i class=\"glyphicon glyphicon-calendar\"><\/i> <\/a><\/span>\n                  <\/div>\n                  <div ng-show=\"resortpro_save_fav.$submitted || resortpro_save_fav.favorites_startdate.$touched\">\n                    <span class=\"error\" ng-show=\"resortpro_save_fav.favorites_startdate.$error.required\" ng-bind=\"'Checkin is required.'\"><\/span>\n                  <\/div>\n                <\/div>\n                <div class=\"col-md-6 col-xs-6 col-sm-6\">\n                  <div class=\"input-group\">\n                    <input type=\"text\" class=\"form-control datepicker-input\"\n                            name=\"favorites_enddate\"\n                            id=\"favorites_enddate\"\n                            placeholder=\"Checkout\"\n                            ng-required=\"true\"\n                            ng-model=\"favorites.endDate\"\/>\n                            <span class=\"input-group-btn\"><a class=\"btn btn-primary btn-calendar-in\" href=\"#\"><i class=\"glyphicon glyphicon-calendar\"><\/i> <\/a><\/span>\n                  <\/div>\n\n                  <div ng-show=\"resortpro_save_fav.$submitted || resortpro_save_fav.inquiry_enddate.$touched\">\n                    <span class=\"error\" ng-show=\"resortpro_save_fav.inquiry_enddate.$error.required\" ng-bind=\"'Checkout is required.'\"><\/span>\n                  <\/div>\n                <\/div>\n              <\/div>\n            <\/div>          \n            <div class=\"form-group\">\n              <div class=\"row\">\n                <div class=\"col-md-12\">\n                  <textarea class=\"form-control\"\n                            name=\"favorites_message\"\n                            id=\"favorites_message\"\n                            placeholder=\"Question or Comment\"\n                            ng-model=\"favorites.message\"><\/textarea>\n                <\/div>\n              <\/div>\n            <\/div>\n            <div class=\"alert alert-{[alert.type]} animate\" ng-repeat=\"alert in alerts\">\n              <div ng-bind-html=\"alert.message | trustedHtml\"><\/div>\n            <\/div>\n          <\/div>\n\n          <div class=\"modal-footer\">\n            <a type=\"button\"\n                class=\"btn btn-default\"\n                data-dismiss=\"modal\"\n                ng-click=\"resetFavorites(favorites)\">\n              Close            <\/a>\n            <button type=\"button\" id=\"resortpro_favorite_submit\" ng-click=\"validateFavorites(favorites)\" class=\"btn btn-primary\">\n              <i class=\"glyphicon glyphicon-cloud-upload\"><\/i> Save favorites            <\/button>\n          <\/div>\n        <\/form>\n      <\/div>\n    <\/div>\n  <\/div>\n  \n  <\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":22,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"templates\/page-boxed.php","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-7046","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Favorites - LindasBeach<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lindasbeach.com\/favorites\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Favorites - LindasBeach\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lindasbeach.com\/favorites\/\" \/>\n<meta property=\"og:site_name\" content=\"LindasBeach\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Favorites - LindasBeach","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lindasbeach.com\/favorites\/","og_locale":"en_US","og_type":"article","og_title":"Favorites - LindasBeach","og_url":"https:\/\/lindasbeach.com\/favorites\/","og_site_name":"LindasBeach","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/lindasbeach.com\/favorites\/","url":"https:\/\/lindasbeach.com\/favorites\/","name":"Favorites - LindasBeach","isPartOf":{"@id":"https:\/\/lindasbeach.com\/#website"},"datePublished":"2017-04-30T19:57:07+00:00","breadcrumb":{"@id":"https:\/\/lindasbeach.com\/favorites\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lindasbeach.com\/favorites\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/lindasbeach.com\/favorites\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lindasbeach.com\/"},{"@type":"ListItem","position":2,"name":"Favorites"}]},{"@type":"WebSite","@id":"https:\/\/lindasbeach.com\/#website","url":"https:\/\/lindasbeach.com\/","name":"LindasBeach","description":"LindasBeach","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/lindasbeach.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/lindasbeach.com\/wp-json\/wp\/v2\/pages\/7046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lindasbeach.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lindasbeach.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lindasbeach.com\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/lindasbeach.com\/wp-json\/wp\/v2\/comments?post=7046"}],"version-history":[{"count":0,"href":"https:\/\/lindasbeach.com\/wp-json\/wp\/v2\/pages\/7046\/revisions"}],"wp:attachment":[{"href":"https:\/\/lindasbeach.com\/wp-json\/wp\/v2\/media?parent=7046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}