General updates

This commit is contained in:
Scott Idem
2024-03-28 12:58:23 -04:00
parent 7cc23077f3
commit b7bf152366
3 changed files with 348 additions and 234 deletions

View File

@@ -530,7 +530,7 @@ function send_init_confirm_email({to_email}) {
bind:group={$events_loc.leads.tab[$events_slct.exhibit_id]}
name="tab_manage"
value={'manage'}
disabled={!$events_slct.exhibit_obj || !$events_loc?.leads.auth_exhibit_kv || !$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id]}
disabled={!$ae_loc.administrator_access || !$events_slct.exhibit_obj && (!$events_loc?.leads.auth_exhibit_kv || !$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id])}
regionTab={!$events_slct.exhibit_obj || !$events_loc?.leads.auth_exhibit_kv || !$events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id] ? 'text-slate-400' : ''}
title="Manage the exhibit settings, licenses, and other."
>
@@ -569,9 +569,12 @@ function send_init_confirm_email({to_email}) {
<span class="fas fa-times mx-1"></span>
Clear License
</button>
{:else}
{:else if $events_loc.leads.auth_exhibit_kv[$events_slct.exhibit_id]}
<span class="fas fa-times text-red-500"></span>
No license key selected
{:else}
<span class="fas fa-times text-red-500"></span>
Enter the shared exhibit passcode
{/if}
</h3>
</div>
@@ -592,6 +595,7 @@ function send_init_confirm_email({to_email}) {
placeholder="Exhibit passcode"
class="input max-w-48 font-mono"
required
autofocus
>
</label>
{/if}