Done for reals...

This commit is contained in:
Scott Idem
2024-03-01 19:10:26 -05:00
parent f09577d1d5
commit ff90fa5287

View File

@@ -708,7 +708,7 @@ async function handle_update__sponsorship({
<!-- Marketing for social media and email Level 1 and above with other restrictions --> <!-- Marketing for social media and email Level 1 and above with other restrictions -->
<Tab bind:group={$store_current_tab} name="tab_marketing" value={'marketing'} disabled={!$slct.sponsorship_id || $slct.sponsorship_obj.level_num < 1}> <Tab bind:group={$store_current_tab} name="tab_marketing" value={'marketing'} disabled={!$slct.sponsorship_id || $slct.sponsorship_obj.level_num < 1}>
<svelte:fragment slot="lead"><span class="fas fa-bullhorn"></span></svelte:fragment> <svelte:fragment slot="lead"><span class="fas fa-bullhorn"></span></svelte:fragment>
{#if $slct.sponsorship_obj.website_url} {#if $slct.sponsorship_obj.website_url.length > 10}
<span class="fas fa-check text-green-500"></span> <span class="fas fa-check text-green-500"></span>
{/if} {/if}
Marketing Marketing
@@ -717,13 +717,18 @@ async function handle_update__sponsorship({
{#if $slct.sponsorship_obj.level_num > 1} {#if $slct.sponsorship_obj.level_num > 1}
<Tab bind:group={$store_current_tab} name="tab_exhibit" value={'exhibit'} disabled={!$slct.sponsorship_id || $slct.sponsorship_obj.level_num < 2}> <Tab bind:group={$store_current_tab} name="tab_exhibit" value={'exhibit'} disabled={!$slct.sponsorship_id || $slct.sponsorship_obj.level_num < 2}>
<svelte:fragment slot="lead"><span class="fas fa-store"></span></svelte:fragment> <svelte:fragment slot="lead"><span class="fas fa-store"></span></svelte:fragment>
{#if $slct.sponsorship_obj.questions_li_json.table_exhibit}
<span class="fas fa-check text-green-500"></span>
{/if}
Exhibitor Info Exhibitor Info
</Tab> </Tab>
{/if} {/if}
{#if $slct.sponsorship_obj.level_num > 2}
<Tab bind:group={$store_current_tab} name="tab_session" value={'session'} disabled={!$slct.sponsorship_id || $slct.sponsorship_obj.level_num < 3}> <Tab bind:group={$store_current_tab} name="tab_session" value={'session'} disabled={!$slct.sponsorship_id || $slct.sponsorship_obj.level_num < 3}>
<svelte:fragment slot="lead"><span class="fas fa-chalkboard-teacher"></span></svelte:fragment> <svelte:fragment slot="lead"><span class="fas fa-chalkboard-teacher"></span></svelte:fragment>
Session Info Session Info
</Tab> </Tab>
{/if}
<Tab bind:group={$store_current_tab} name="tab_files" value={'files'} disabled={!$slct.sponsorship_id}> <Tab bind:group={$store_current_tab} name="tab_files" value={'files'} disabled={!$slct.sponsorship_id}>
<svelte:fragment slot="lead"><span class="fas fa-file-upload"></span></svelte:fragment> <svelte:fragment slot="lead"><span class="fas fa-file-upload"></span></svelte:fragment>
{#if $slct.sponsorship_obj.logo_li_json && $slct.sponsorship_obj.logo_li_json.primary && $slct.sponsorship_obj.logo_li_json.primary.hosted_file_id_random} {#if $slct.sponsorship_obj.logo_li_json && $slct.sponsorship_obj.logo_li_json.primary && $slct.sponsorship_obj.logo_li_json.primary.hosted_file_id_random}
@@ -1178,7 +1183,7 @@ async function handle_update__sponsorship({
<label for="website_url" class="label"> <label for="website_url" class="label">
<!-- Website URL --> <!-- Website URL -->
<input type="url" id="website_url" name="website_url" class="input text-xs w-96" placeholder="Website URL" value={$slct.sponsorship_obj.website_url} autocomplete="url" required /> <input type="url" id="website_url" name="website_url" class="input text-xs w-96" placeholder="Website URL" bind:value={$slct.sponsorship_obj.website_url} autocomplete="url" required />
</label> </label>
</fieldset> </fieldset>