+{/if}
+
+{#if show_edit}
+
+
+
+{/if}
+
+
+
+ {#if !$ae_ds_loc.type && !$ae_ds_loc.html && !$ae_ds_loc.json && !$ae_ds_loc.md && !$ae_ds_loc.text}
+ No data found! Is the data store correct or new?
+ {/if}
+
+ {#if $ae_ds_loc.type == 'html' && $ae_ds_loc.html}
+ {@html $ae_ds_loc.html}
+ {:else if $ae_ds_loc.type == 'html'}
+ No HTML found! Is the data store type correct?
+ {/if}
+
+ {#if $ae_ds_loc.type == 'text' && $ae_ds_loc.text}
+ {$ae_ds_loc.text}
+ {:else if $ae_ds_loc.type == 'text'}
+ No text found! Is the data store type correct?
+ {/if}
+
+
+
+
+
+
+{/if}
+
+
+
+
+
+
+
+
+
diff --git a/src/routes/events_badges/+page.svelte b/src/routes/events_badges/+page.svelte
index e8c40c25..b2e35091 100644
--- a/src/routes/events_badges/+page.svelte
+++ b/src/routes/events_badges/+page.svelte
@@ -4,10 +4,10 @@ export let data;
import { onMount } from 'svelte';
-import { api } from '$lib/api';
import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
import { ae_util } from '$lib/ae_utils';
-import type { key_val } from '$lib/ae_stores';
+
+import Element_data_store from '$lib/element_data_store.svelte';
onMount(() => {
@@ -22,16 +22,39 @@ onMount(() => {
// $slct_trigger = 'msg_parent';
ae_util.handle_url_and_message('event_id', $slct.event_id);
ae_util.handle_url_and_message('event_badge_id', $slct.event_badge_id);
- if ($slct.event_badge_id) {
- console.log(`Got an ID. Let's show the modal!`);
- modalStore.trigger(modal_edit__event_badge_obj);
- }
+ // if ($slct.event_badge_id) {
+ // console.log(`Got an ID. Let's show the modal!`);
+ // modalStore.trigger(modal_edit__event_badge_obj);
+ // }
});
+
New Events - Badges
+
+
+
+
+
diff --git a/src/routes/events_speakers/10_edit_modal__event_presenter_obj.svelte b/src/routes/events_speakers/10_edit_modal__event_presenter_obj.svelte
index 10336d9f..362ce58d 100644
--- a/src/routes/events_speakers/10_edit_modal__event_presenter_obj.svelte
+++ b/src/routes/events_speakers/10_edit_modal__event_presenter_obj.svelte
@@ -369,26 +369,26 @@ async function handle_create__event_presenter({
console.log('*** handle_create__event_presenter() ***');
ae_promises.api_create__event_presenter_obj = api.create_ae_obj_crud({
- api_cfg: $ae_api,
- obj_type: obj_type,
- fields: data,
- key: $ae_api.api_crud_super_key,
- log_lvl: 2
- })
- .then(async function (create__obj_result) {
- if (!create__obj_result) {
- console.log('The result was null or false.');
- return false;
- }
- return create__obj_result;
+ api_cfg: $ae_api,
+ obj_type: obj_type,
+ fields: data,
+ key: $ae_api.api_crud_super_key,
+ log_lvl: 2
})
- .catch(function (error) {
- console.log('Something went wrong.');
- console.log(error);
+ .then(async function (create__obj_result) {
+ if (!create__obj_result) {
+ console.log('The result was null or false.');
return false;
- });
+ }
+ return create__obj_result;
+ })
+ .catch(function (error) {
+ console.log('Something went wrong.');
+ console.log(error);
+ return false;
+ });
- return ae_promises.api_create__event_presenter_obj;
+ return ae_promises.api_create__event_presenter_obj;
}
@@ -400,27 +400,27 @@ async function handle_update__event_presenter({
console.log('*** handle_update__event_presenter() ***');
ae_promises.update__event_presenter_obj = api.update_ae_obj_id_crud({
- api_cfg: $ae_api,
- obj_type: obj_type,
- obj_id: obj_id,
- fields: data,
- key: $ae_api.api_crud_super_key,
- log_lvl: 2
- })
- .then(async function (update__obj_result) {
- if (!update__obj_result) {
- console.log('The result was null or false.');
- return false;
- }
- return update__obj_result;
+ api_cfg: $ae_api,
+ obj_type: obj_type,
+ obj_id: obj_id,
+ fields: data,
+ key: $ae_api.api_crud_super_key,
+ log_lvl: 2
})
- .catch(function (error) {
- console.log('Something went wrong.');
- console.log(error);
+ .then(async function (update__obj_result) {
+ if (!update__obj_result) {
+ console.log('The result was null or false.');
return false;
- });
+ }
+ return update__obj_result;
+ })
+ .catch(function (error) {
+ console.log('Something went wrong.');
+ console.log(error);
+ return false;
+ });
- return ae_promises.update__event_presenter_obj;
+ return ae_promises.update__event_presenter_obj;
}
diff --git a/src/routes/sponsorships/10_edit_modal__sponsorship_obj.svelte b/src/routes/sponsorships/10_edit_modal__sponsorship_obj.svelte
index 04c1f3fe..ac0355e2 100644
--- a/src/routes/sponsorships/10_edit_modal__sponsorship_obj.svelte
+++ b/src/routes/sponsorships/10_edit_modal__sponsorship_obj.svelte
@@ -8,6 +8,9 @@ import { fade } from 'svelte/transition';
// store_current_tab must be prefixed with $ to be reactive.
import { clipboard, FileDropzone, getModalStore, localStorageStore, ProgressRadial, RadioGroup, RadioItem, TabGroup, Tab, TabAnchor } from '@skeletonlabs/skeleton';
import type { Writable } from 'svelte/store';
+
+import Element_data_store from '$lib/element_data_store.svelte';
+
const store_current_tab: Writable = localStorageStore('ae_sponsorships_current_tab', 'start');
console.log(`store_current_tab:`, $store_current_tab);
@@ -1215,8 +1218,16 @@ async function handle_update__sponsorship({
{$ae_loc.ds['sponsorships__agree_li'][1].code}
{/if} -->
-
Sponsor General Waiver
-
Proceeds from your sponsorship benefit the National Marine Sanctuary Foundation, a 501c3 nonprofit organization. Your contribution may be tax-deductible. For more information, please consult with a tax professional. All sales are final, and contributions, purchases, tickets, and sponsorships are non-refundable. As the host of CHOW, the Foundation is committed to the safety and well-being of all participants. If CHOW moves entirely to a virtual platform due to external circumstances, the Foundation will work with you to ensure that we meet your sponsor benefit needs. In the event of cancellation, your purchase becomes a tax-deductible gift.