Template:PendingProfile: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
{{#vardefine:status|{{{status|pending}}}}}
<!-- Top Notice -->
 
{{#ifeq:{{{status|pending}}}|paid|
{{#ifeq:{{#var:status}}|paid|
<!-- IF PAID -->
<!-- SHOW FULL PROFILE -->
{{{visible|}}}
{{{visible|}}}
{{{hidden|}}}
{{{hidden|}}}
|
|
<!-- SHOW LOCKED PROFILE -->
<!-- ELSE (PENDING) -->
<div style="background:#fff3cd; padding:10px; border:1px solid #ffcc00; text-align:center; font-weight:bold; margin-bottom:10px;">
<div style="background:#fff3cd; padding:10px; border:1px solid #ffcc00; text-align:center; font-weight:bold; margin-bottom:10px;">
⚠️ This profile is locked — payment is pending from {{PAGENAME}} for full activation.
⚠️ This profile is locked — payment is pending from {{PAGENAME}} for full activation.
</div>
</div>
<!-- Visible Section -->
{{{visible|}}}
{{{visible|}}}


<!-- Wrapper -->
<div style="position:relative; margin-top:20px; min-height:400px;">
<div style="position:relative; margin-top:20px; min-height:400px;">
   <div style="filter:blur(5px); opacity:0.7; pointer-events:none; user-select:none;">
  <!-- Blurred Content -->
   <div style="filter:blur(5px); opacity:0.7; pointer-events:none; user-select:none; z-index:1;">
     {{{hidden|}}}
     {{{hidden|}}}
   </div>
   </div>


   <div style="position:absolute; top:0; left:0; right:0; bottom:0; display:flex; justify-content:center; align-items:center; z-index:10;">
  <!-- Overlay Message Box -->
     <div style="background:rgba(255,255,255,0.95); border:2px solid #ffcc00; border-radius:10px; padding:25px; text-align:center; max-width:500px; width:90%; font-weight:bold; font-size:17px; color:#000;">
   <div style="position:absolute; top:0; left:0; right:0; bottom:0;  
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  padding:15px; z-index:10; box-sizing:border-box;">
     <div style="background:rgba(255,255,255,0.95); border:2px solid #ffcc00; border-radius:10px;  
    padding:20px 15px; text-align:center; width:90%; max-width:500px;  
    font-weight:bold; font-size:17px; color:#000; line-height:1.5; box-sizing:border-box;">
       🔒 The full biography is locked.<br>
       🔒 The full biography is locked.<br>
       Please make a payment to unlock the profile.<br><br>
       Please make a payment to unlock the complete profile.<br><br>
       <a href="https://pages.razorpay.com/balance-2500" target="_blank"
       <a href="https://pages.razorpay.com/balance-2500" target="_blank"
       style="color:#007bff; text-decoration:underline; font-weight:bold;">Pay Now</a><br><br>
       style="color:#007bff; text-decoration:underline; font-weight:bold;">
       <small><i>Admin toggle: [[{{FULLPAGENAME}}?action=purge&status=paid|Unlock Profile]]</i></small>
      Pay Now
       </a>
     </div>
     </div>
   </div>
   </div>
</div>
</div>
}}
}}