Adding the new event status for IDAA.
This commit is contained in:
@@ -207,12 +207,16 @@ $: if ($idaa_trig.event_li_qry) {
|
||||
api_cfg: $ae_api,
|
||||
for_obj_type: 'account',
|
||||
for_obj_id: $ae_loc.account_id,
|
||||
order_by_li: order_by_li,
|
||||
|
||||
qry_conference: false,
|
||||
qry_physical: and_physical,
|
||||
qry_virtual: and_virtual,
|
||||
qry_type: and_type,
|
||||
qry_str: $idaa_loc.recovery_meetings.qry__fulltext_str,
|
||||
enabled: $idaa_loc.recovery_meetings.qry__enabled,
|
||||
hidden: $idaa_loc.recovery_meetings.qry__hidden,
|
||||
order_by_li: $idaa_loc.recovery_meetings.qry__order_by_li,
|
||||
limit: $idaa_loc.recovery_meetings.qry__limit,
|
||||
try_cache: try_cache,
|
||||
log_lvl: log_lvl,
|
||||
})
|
||||
|
||||
@@ -405,6 +405,8 @@ async function handle_submit_form(event: any) {
|
||||
}
|
||||
event_do['contact_li_json'].push(contact_2);
|
||||
|
||||
event_do['status'] = event_meeting_fd.status ?? null;
|
||||
|
||||
event_do['hide'] = !!event_meeting_fd.hide;
|
||||
event_do['priority'] = !!event_meeting_fd.priority;
|
||||
if (event_meeting_fd['sort']) {
|
||||
@@ -1204,9 +1206,35 @@ async function handle_delete_event_obj(
|
||||
<span
|
||||
class="flex flex-row flex-wrap gap-2 items-center justify-evenly grow"
|
||||
>
|
||||
<fieldset class="flex flex-row gap-1 items-center justify-center">
|
||||
<fieldset class="flex flex-col flex-wrap gap-1 items-start justify-center">
|
||||
<legend class="legend text-sm font-semibold">Confirmed</legend>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="status_yes"
|
||||
name="status"
|
||||
value={'unknown'}
|
||||
bind:group={$idaa_slct.event_obj.status}
|
||||
class="radio"
|
||||
>
|
||||
<label for="status_yes">Not Confirmed</label>
|
||||
</div>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="status_no"
|
||||
name="status"
|
||||
value={null}
|
||||
bind:group={$idaa_slct.event_obj.status}
|
||||
class="radio"
|
||||
>
|
||||
<label for="status_no">Yes</label>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="flex flex-col flex-wrap gap-1 items-start justify-center">
|
||||
<legend class="legend text-sm font-semibold">Hide</legend>
|
||||
<div>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="hide_yes"
|
||||
@@ -1217,7 +1245,7 @@ async function handle_delete_event_obj(
|
||||
>
|
||||
<label for="hide_yes">Yes</label>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="hide_no"
|
||||
@@ -1230,9 +1258,9 @@ async function handle_delete_event_obj(
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="flex flex-row gap-2">
|
||||
<fieldset class="flex flex-col flex-wrap gap-1 items-start justify-center">
|
||||
<legend class="legend text-sm font-semibold">Priority</legend>
|
||||
<div>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="priority_yes"
|
||||
@@ -1243,7 +1271,7 @@ async function handle_delete_event_obj(
|
||||
>
|
||||
<label for="priority_yes">Yes</label>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="priority_no"
|
||||
@@ -1265,9 +1293,9 @@ async function handle_delete_event_obj(
|
||||
|
||||
{#if $ae_loc.administrator_access}
|
||||
<span class="flex flex-row flex-wrap gap-1 items-center justify-evenly grow">
|
||||
<fieldset class="flex flex-row gap-2">
|
||||
<fieldset class="flex flex-col flex-wrap gap-1 items-start justify-center">
|
||||
<legend class="legend text-sm font-semibold">Enable</legend>
|
||||
<div>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="enable_yes"
|
||||
@@ -1278,7 +1306,7 @@ async function handle_delete_event_obj(
|
||||
>
|
||||
<label for="enable_yes">Yes</label>
|
||||
</div>
|
||||
<div>
|
||||
<div class="flex flex-row gap-1 items-start justify-center">
|
||||
<input
|
||||
type="radio"
|
||||
id="enable_no"
|
||||
|
||||
@@ -53,6 +53,15 @@ onMount(() => {
|
||||
{idaa_event_obj?.name}
|
||||
</h3>
|
||||
|
||||
{#if idaa_event_obj?.status == 'unknown'}
|
||||
<span class="badge badge-warning" title="This meeting has not been confirmed by IDAA Central Office. Please reach out to the chair for current meeting list info. Meeting attendees can reach out to info@idaa.org if they know this is information is accurate and this meeting is still taking place.">
|
||||
<span class="fas fa-exclamation-triangle m-1"></span>
|
||||
Not Confirmed by IDAA
|
||||
<!-- Unknown Status -->
|
||||
<span class="fas fa-exclamation-triangle m-1"></span>
|
||||
</span>
|
||||
{/if}
|
||||
|
||||
<span class="flex flex-row flex-wrap gap-1 items-center justify-center">
|
||||
<span class="badge badge-info variant-glass-tertiary">
|
||||
{#if idaa_event_obj?.physical && idaa_event_obj?.virtual}
|
||||
|
||||
Reference in New Issue
Block a user