Done for the night...
This commit is contained in:
@@ -258,6 +258,11 @@ async function handle_submit_form(event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Marketing for social media and email related questions
|
// Marketing for social media and email related questions
|
||||||
|
if (typeof sponsorship_di.website_url !== 'undefined') {
|
||||||
|
// This is also stored under social_li_json.
|
||||||
|
sponsorship_do['website_url'] = sponsorship_di.website_url;
|
||||||
|
}
|
||||||
|
|
||||||
if (sponsorship_di.social_media_facebook || sponsorship_di.social_media_twitter || sponsorship_di.social_media_instagram || sponsorship_di.social_media_linkedin) {
|
if (sponsorship_di.social_media_facebook || sponsorship_di.social_media_twitter || sponsorship_di.social_media_instagram || sponsorship_di.social_media_linkedin) {
|
||||||
sponsorship_do['social_li_json'] = {
|
sponsorship_do['social_li_json'] = {
|
||||||
facebook: sponsorship_di.social_media_facebook,
|
facebook: sponsorship_di.social_media_facebook,
|
||||||
@@ -694,12 +699,18 @@ async function handle_update__sponsorship({
|
|||||||
>
|
>
|
||||||
<Tab bind:group={$store_current_tab} name="tab_start" value={'start'}>
|
<Tab bind:group={$store_current_tab} name="tab_start" value={'start'}>
|
||||||
<svelte:fragment slot="lead"><span class="fas fa-home"></span></svelte:fragment>
|
<svelte:fragment slot="lead"><span class="fas fa-home"></span></svelte:fragment>
|
||||||
|
{#if $slct.sponsorship_obj.sponsorship_id_random}
|
||||||
|
<span class="fas fa-check text-green-500"></span>
|
||||||
|
{/if}
|
||||||
<!-- Start -->
|
<!-- Start -->
|
||||||
General Info
|
General Info
|
||||||
</Tab>
|
</Tab>
|
||||||
<!-- 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}
|
||||||
|
<span class="fas fa-check text-green-500"></span>
|
||||||
|
{/if}
|
||||||
Marketing
|
Marketing
|
||||||
</Tab>
|
</Tab>
|
||||||
<!-- Exhibit Level 2 and above -->
|
<!-- Exhibit Level 2 and above -->
|
||||||
@@ -715,6 +726,9 @@ async function handle_update__sponsorship({
|
|||||||
</Tab>
|
</Tab>
|
||||||
<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}
|
||||||
|
<span class="fas fa-check text-green-500"></span>
|
||||||
|
{/if}
|
||||||
File Uploads
|
File Uploads
|
||||||
</Tab>
|
</Tab>
|
||||||
<Tab bind:group={$store_current_tab} name="tab_gala_guests" value={'gala_guests'} disabled={!$slct.sponsorship_id}>
|
<Tab bind:group={$store_current_tab} name="tab_gala_guests" value={'gala_guests'} disabled={!$slct.sponsorship_id}>
|
||||||
|
|||||||
Reference in New Issue
Block a user