← back to Commercialrealestate
CRCP: extend 'agent opens its own page' — condos listing agents (default-visible, 797 links) + mls broker_agent column + agentBits name now deep-link to /agent.html (mls agent col is opt-in per its dense default)
200087f9eca558f3f7d6bb91790c9c28b2b21ab6 · 2026-08-19 09:28:15 -0700 · Steve Abrams
Files touched
Diff
commit 200087f9eca558f3f7d6bb91790c9c28b2b21ab6
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Wed Aug 19 09:28:15 2026 -0700
CRCP: extend 'agent opens its own page' — condos listing agents (default-visible, 797 links) + mls broker_agent column + agentBits name now deep-link to /agent.html (mls agent col is opt-in per its dense default)
---
public/mls.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/public/mls.html b/public/mls.html
index e65a975..3f66288 100644
--- a/public/mls.html
+++ b/public/mls.html
@@ -548,6 +548,7 @@ const _isAgg=u=>{const h=_host(u);return !!(h&&_AGG.some(a=>h.includes(a)));};
function agentBits(r){
if(!r.broker_agent) return '';
const out=[];
+ out.push(`<a href="/agent.html?name=${encodeURIComponent(r.broker_agent)}" target="_blank" rel="noopener noreferrer" title="Open ${esc(r.broker_agent)}'s own page — current & past listings" style="font-weight:600">👤 ${esc(r.broker_agent)} ↗</a>`);
if(r.agent_phone) out.push(`<a href="tel:${esc(r.agent_phone)}" title="the agent's phone">📞 ${esc(r.agent_phone)}</a>`);
if(r.agent_site) out.push(`<a href="${esc(r.agent_site)}" target="_blank" rel="noopener noreferrer" title="the agent's own website">👤 agent ↗</a>`);
else if(r.agent_site_status!=='no_url') out.push(`<button class="agent-find" data-a="${esc(r.broker_agent)}" data-f="${esc(r.broker_firm||'')}" data-c="${esc(r.city||'')}" title="find this agent's own site (free, local)" style="background:none;border:1px solid currentColor;border-radius:4px;padding:0 5px;cursor:pointer;font:inherit;color:inherit;opacity:.7">🔎 agent</button>`);
← 7361844 CRCP: backfill real broker phones for Showcase listings — FR
·
back to Commercialrealestate
·
backfill option-3: openclaw real-Chrome (beats 403/JS) + qwe 86b8219 →