diff --git a/src/components/innovision/AdminDashboard.tsx b/src/components/innovision/AdminDashboard.tsx index 92a8b0d..0311b51 100644 --- a/src/components/innovision/AdminDashboard.tsx +++ b/src/components/innovision/AdminDashboard.tsx @@ -753,20 +753,36 @@ export default function AdminDashboard({ )} - {/* Top Bar */} + {/* Top Bar. The dialog clips overflow, so tabs that don't fit must wrap or scroll, never run off-screen (that hid + OPEN SCANNER on phones). Wide screens wrap the tabs; below 860px they get their own row that scrolls sideways, + with the scanner link first. */} +
-
-
+
+
COMMAND CENTER · {currentUser.role.toUpperCase()} @@ -789,7 +809,7 @@ export default function AdminDashboard({
{/* Navigation Tabs */} -
+ {v.passQr ? : null}

{v.passNote}

EXPLORE THE WORLDS diff --git a/src/components/innovision/Innovision.tsx b/src/components/innovision/Innovision.tsx index ffdb40a..6ac650e 100644 --- a/src/components/innovision/Innovision.tsx +++ b/src/components/innovision/Innovision.tsx @@ -2514,7 +2514,13 @@ export class Innovision extends Component { submitLbl: s.busyLbl || (am === 'login' ? 'LOG IN' : ['CONTINUE TO PAYMENT', "I'VE PAID", 'SUBMIT REGISTRATION'][st] || 'CONTINUE'), busy: !!s.busyLbl, busyO: s.busyLbl ? .72 : 1, passName: P.name || '', passCollege: P.college || '', passCollegeD: P.college ? 'block' : 'none', passId: P.id || P.registration_id || '', passStatus: P.status ? P.status.toUpperCase() : 'PAYMENT UNDER REVIEW', - passNote: P.status === 'CONFIRMED' ? 'Show this pass at the registration desk when you arrive at NIT Rourkela.' : (P.status === 'REJECTED' ? 'Your registration was declined. Please contact the helpdesk.' : 'We will email ' + (P.email || 'you') + ' once your payment is verified by the IT-Team.'), + // Mounted only while the pass is open, so the QR is fetched then and not on every page load. + passQr: !!s.auth && am === 'pass' && !!s.user, + passNote: P.status === 'CONFIRMED' + ? 'You are confirmed. Download your entry pass now and show the QR with your college ID at the registration desk, so entry at NIT Rourkela is quick.' + : P.status === 'REJECTED' + ? 'Your registration could not be approved. Please contact the helpdesk.' + : 'Your payment is being verified and your registration will be approved soon. Keep checking MY PASS: once approved, your entry QR appears here, ready to download.', exploreFromPass: this.exploreFromPass, googleLogin: this.googleLogin, gBusy: s.gBusy, gErr: s.gErr, gLbl: s.gBusy ? 'Waiting for Google…' : 'Continue with Google', gNote: reg && st === 0 && s.user ? 'Signed in as ' + s.user.email + (isInternal ? ' (NIT RKL Student)' : '') + '.' : '', diff --git a/src/components/innovision/ProfileOverlay.tsx b/src/components/innovision/ProfileOverlay.tsx index 609235d..382d404 100644 --- a/src/components/innovision/ProfileOverlay.tsx +++ b/src/components/innovision/ProfileOverlay.tsx @@ -403,9 +403,9 @@ export default function ProfileOverlay({

{registration.status === 'confirmed' - ? 'Your registration has been approved. Your boarding pass is verified for entry at the gate.' + ? 'Your registration is confirmed. Download your entry pass below and show the QR with your college ID at the registration desk.' : registration.status === 'pending' - ? 'Your registration details & payment proof are under review by the Registration Team. Your pass will unlock upon confirmation.' + ? 'Your payment is being verified and your registration will be approved soon. Keep checking MY PASS: your entry QR will appear there once approved.' : 'Your registration could not be verified. Please visit the helpdesk or contact the event administrators.'}