diff --git a/assets/javascript/popup.js b/assets/javascript/popup.js index a44b2bd1..fc4b0aca 100644 --- a/assets/javascript/popup.js +++ b/assets/javascript/popup.js @@ -20,19 +20,15 @@ window.dash_props = Object.assign({}, window.dash_props, { function getListingUrlBlock(data) { if (!data.listing_url) { return ` - - Listing ID (MLS#) - ${data.mls_number} - +
+
${data.full_street_address}
+
`; } return ` - - Listing ID (MLS#) - - ${data.mls_number} - - +
+
${data.full_street_address}
+
`; } @@ -63,15 +59,16 @@ window.dash_props = Object.assign({}, window.dash_props, { return `
${imageRow} -
-
${data.full_street_address}
-
+ ${listingUrlBlock} - ${listingUrlBlock} + + + +
Listed Date ${formatDate(data.listed_date)}
Listing ID (MLS#)${data.mls_number}
List Office Phone ${phoneNumberBlock}