[object Object]

← back to NationalPaperHangers

templates: hide all /book schedule CTAs for unclaimed (directory-listing) studios — claimed-only after sign-up; show studio info only

fdd57f9e21225c6a3d521f3ebe11bc7688def626 · 2026-05-06 12:37:55 -0700 · Steve

Files touched

Diff

commit fdd57f9e21225c6a3d521f3ebe11bc7688def626
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed May 6 12:37:55 2026 -0700

    templates: hide all /book schedule CTAs for unclaimed (directory-listing) studios — claimed-only after sign-up; show studio info only
---
 views/public/installer-tpl-bilingue.ejs  | 14 +++++++++-----
 views/public/installer-tpl-concierge.ejs |  8 +++++---
 views/public/installer-tpl-editorial.ejs | 10 ++++++----
 views/public/installer-tpl-heritage.ejs  | 10 ++++++----
 views/public/installer-tpl-studio.ejs    | 14 +++++++++-----
 views/public/installer-tpl-trade-pro.ejs | 10 ++++++----
 6 files changed, 41 insertions(+), 25 deletions(-)

diff --git a/views/public/installer-tpl-bilingue.ejs b/views/public/installer-tpl-bilingue.ejs
index 4def657..5c0de6a 100644
--- a/views/public/installer-tpl-bilingue.ejs
+++ b/views/public/installer-tpl-bilingue.ejs
@@ -30,7 +30,9 @@
         <p class="bl-headline" data-lang="en"><%= installer.headline %></p>
         <p class="bl-headline" data-lang="es"><%= esHeadline || installer.headline %></p>
       <% } %>
-      <a class="bl-cta" href="/installer/<%= installer.slug %>/book"><span data-lang="en">Book a consultation</span><span data-lang="es">Solicitar consulta</span></a>
+      <% if (installer.claim_status === 'claimed') { %>
+        <a class="bl-cta" href="/installer/<%= installer.slug %>/book"><span data-lang="en">Book a consultation</span><span data-lang="es">Solicitar consulta</span></a>
+      <% } %>
     </div>
   </div>
 
@@ -77,10 +79,12 @@
     </section>
   <% } %>
 
-  <section class="bl-cta-final">
-    <h2><span data-lang="en">Ready to book <%= installer.business_name %>?</span><span data-lang="es">¿Listo para contratar a <%= installer.business_name %>?</span></h2>
-    <a href="/installer/<%= installer.slug %>/book"><span data-lang="en">Book a consultation</span><span data-lang="es">Solicitar consulta</span></a>
-  </section>
+  <% if (installer.claim_status === 'claimed') { %>
+    <section class="bl-cta-final">
+      <h2><span data-lang="en">Ready to book <%= installer.business_name %>?</span><span data-lang="es">¿Listo para contratar a <%= installer.business_name %>?</span></h2>
+      <a href="/installer/<%= installer.slug %>/book"><span data-lang="en">Book a consultation</span><span data-lang="es">Solicitar consulta</span></a>
+    </section>
+  <% } %>
 
   <%- include('../partials/social-videos') %>
 
diff --git a/views/public/installer-tpl-concierge.ejs b/views/public/installer-tpl-concierge.ejs
index f70fa9f..cd4810d 100644
--- a/views/public/installer-tpl-concierge.ejs
+++ b/views/public/installer-tpl-concierge.ejs
@@ -55,9 +55,11 @@
     </p>
   <% } %>
 
-  <div class="cc-cta">
-    <a href="/installer/<%= installer.slug %>/book">Reserve a consultation</a>
-  </div>
+  <% if (installer.claim_status === 'claimed') { %>
+    <div class="cc-cta">
+      <a href="/installer/<%= installer.slug %>/book">Reserve a consultation</a>
+    </div>
+  <% } %>
   <%- include('../partials/social-videos') %>
 
 </article>
diff --git a/views/public/installer-tpl-editorial.ejs b/views/public/installer-tpl-editorial.ejs
index 2b8c5a2..55f1e50 100644
--- a/views/public/installer-tpl-editorial.ejs
+++ b/views/public/installer-tpl-editorial.ejs
@@ -78,9 +78,11 @@
 
   <%- include('../partials/social-videos') %>
 
-  <section class="ed-cta">
-    <h2>Book <%= installer.business_name %></h2>
-    <a class="btn-ed" href="/installer/<%= installer.slug %>/book">Open the calendar →</a>
-  </section>
+  <% if (installer.claim_status === 'claimed') { %>
+    <section class="ed-cta">
+      <h2>Book <%= installer.business_name %></h2>
+      <a class="btn-ed" href="/installer/<%= installer.slug %>/book">Open the calendar →</a>
+    </section>
+  <% } %>
 </article>
 <%- include('../partials/footer') %>
diff --git a/views/public/installer-tpl-heritage.ejs b/views/public/installer-tpl-heritage.ejs
index e29c415..d2475e4 100644
--- a/views/public/installer-tpl-heritage.ejs
+++ b/views/public/installer-tpl-heritage.ejs
@@ -82,10 +82,12 @@
     </section>
   <% } %>
 
-  <section class="hr-cta">
-    <h2>Commission a project</h2>
-    <a href="/installer/<%= installer.slug %>/book">Open the consultation calendar</a>
-  </section>
+  <% if (installer.claim_status === 'claimed') { %>
+    <section class="hr-cta">
+      <h2>Commission a project</h2>
+      <a href="/installer/<%= installer.slug %>/book">Open the consultation calendar</a>
+    </section>
+  <% } %>
   <%- include('../partials/social-videos') %>
 
 </article>
diff --git a/views/public/installer-tpl-studio.ejs b/views/public/installer-tpl-studio.ejs
index a15472b..ca0fd26 100644
--- a/views/public/installer-tpl-studio.ejs
+++ b/views/public/installer-tpl-studio.ejs
@@ -17,7 +17,9 @@
       <h1 class="st-name"><%= installer.business_name %></h1>
       <p class="st-headline"><%= installer.headline || (installer.bio || '').split(/\.\s/)[0] %></p>
       <div class="st-actions">
-        <a class="primary" href="/installer/<%= installer.slug %>/book">Book a consultation</a>
+        <% if (installer.claim_status === 'claimed') { %>
+          <a class="primary" href="/installer/<%= installer.slug %>/book">Book a consultation</a>
+        <% } %>
         <% if (installer.website) { %><a class="ghost" href="<%= installer.website %>" target="_blank" rel="noopener">Studio site ↗</a><% } %>
         <% if (installer.instagram_handle) { %><a class="ghost" href="https://instagram.com/<%= encodeURIComponent(installer.instagram_handle) %>" target="_blank" rel="noopener">@<%= installer.instagram_handle %></a><% } %>
       </div>
@@ -82,10 +84,12 @@
     </section>
   <% } %>
 
-  <section class="st-cta">
-    <h2>Bring <%= installer.business_name %> on the next project</h2>
-    <a href="/installer/<%= installer.slug %>/book">Book a consultation</a>
-  </section>
+  <% if (installer.claim_status === 'claimed') { %>
+    <section class="st-cta">
+      <h2>Bring <%= installer.business_name %> on the next project</h2>
+      <a href="/installer/<%= installer.slug %>/book">Book a consultation</a>
+    </section>
+  <% } %>
   <%- include('../partials/social-videos') %>
 
 </article>
diff --git a/views/public/installer-tpl-trade-pro.ejs b/views/public/installer-tpl-trade-pro.ejs
index a2a2111..e07b98a 100644
--- a/views/public/installer-tpl-trade-pro.ejs
+++ b/views/public/installer-tpl-trade-pro.ejs
@@ -86,10 +86,12 @@
     </div>
   <% } %>
 
-  <section class="tp-cta">
-    <p style="margin:0 0 18px;letter-spacing:0.15em;text-transform:uppercase;font-size:13px">Specifying with <%= installer.business_name %>?</p>
-    <a href="/installer/<%= installer.slug %>/book">Open the work calendar →</a>
-  </section>
+  <% if (installer.claim_status === 'claimed') { %>
+    <section class="tp-cta">
+      <p style="margin:0 0 18px;letter-spacing:0.15em;text-transform:uppercase;font-size:13px">Specifying with <%= installer.business_name %>?</p>
+      <a href="/installer/<%= installer.slug %>/book">Open the work calendar →</a>
+    </section>
+  <% } %>
   <%- include('../partials/social-videos') %>
 
 </article>

← dd2fcde claude-codex r3 cleanup: iframe width/height (CLS fix, MEDIU  ·  back to NationalPaperHangers  ·  watch: linkedin embed support + industry company-page strip 939d55b →