Last minute clean up before LCI.
This commit is contained in:
@@ -10,9 +10,9 @@ interface Props {
|
||||
hide__session_location?: boolean;
|
||||
hide__session_poc?: boolean;
|
||||
hide__admin?: boolean;
|
||||
show__launcher_link?: boolean;
|
||||
show__launcher_link_legacy?: boolean;
|
||||
show__location_link?: boolean;
|
||||
hide__launcher_link_legacy?: boolean;
|
||||
hide__launcher_link?: boolean;
|
||||
hide__location_link?: boolean;
|
||||
show__session_files?: boolean;
|
||||
show__session_presentations?: boolean;
|
||||
}
|
||||
@@ -23,14 +23,14 @@ let {
|
||||
// link_to_type,
|
||||
// link_to_id,
|
||||
lq__event_session_obj_li,
|
||||
hide__session_location = false,
|
||||
hide__session_poc = false,
|
||||
hide__admin = false,
|
||||
show__launcher_link = false,
|
||||
show__launcher_link_legacy = false,
|
||||
show__location_link = false,
|
||||
show__session_files = false,
|
||||
show__session_presentations = false
|
||||
hide__session_location = $bindable(false), // The field in the column or list
|
||||
hide__session_poc = $bindable(false), // The field in the column or list
|
||||
hide__admin = $bindable(false),
|
||||
hide__launcher_link_legacy = $bindable(false),
|
||||
hide__launcher_link = $bindable(false),
|
||||
hide__location_link = $bindable(false),
|
||||
show__session_files = $bindable(false),
|
||||
show__session_presentations = $bindable(false),
|
||||
}: Props = $props();
|
||||
|
||||
// *** Import Svelte specific
|
||||
@@ -244,7 +244,12 @@ let trigger_reload_session_id: string = $state('');
|
||||
>
|
||||
<!-- Minimum level access to see the link here is "trusted". -->
|
||||
<!-- BEGIN: Legacy link -->
|
||||
{#if show__launcher_link_legacy}
|
||||
{#if hide__launcher_link_legacy && hide__launcher_link}
|
||||
<span>
|
||||
{session_obj?.event_location_name ?? '-- not set --'}
|
||||
</span>
|
||||
{/if}
|
||||
{#if !hide__launcher_link_legacy}
|
||||
<a
|
||||
data-sveltekit-preload-data="false"
|
||||
href="/event/{session_obj?.event_id_random}/launcher/{session_obj?.event_location_id_random}"
|
||||
@@ -254,14 +259,10 @@ let trigger_reload_session_id: string = $state('');
|
||||
<span class="fas fa-paper-plane m-1"></span>
|
||||
{@html session_obj?.event_location_name ? session_obj?.event_location_name : ae_snip.html__not_set}
|
||||
</a>
|
||||
{:else}
|
||||
<span>
|
||||
{session_obj?.event_location_name ?? '-- not set --'}
|
||||
</span>
|
||||
{/if}
|
||||
<!-- END: Legacy Link -->
|
||||
|
||||
{#if show__launcher_link}
|
||||
{#if !hide__launcher_link}
|
||||
<a
|
||||
href="/events/{session_obj?.event_id_random}/launcher/{session_obj?.event_location_id_random}?session_id={session_obj?.event_session_id_random}"
|
||||
class="btn btn-sm preset-tonal-surface hover:preset-filled-secondary-500 text-xs lg:text-sm"
|
||||
@@ -275,7 +276,7 @@ let trigger_reload_session_id: string = $state('');
|
||||
{session_obj?.event_location_name ?? '-- not set --'}
|
||||
</span> -->
|
||||
{/if}
|
||||
{#if show__location_link}
|
||||
{#if !hide__location_link}
|
||||
<a
|
||||
href="/events/{session_obj?.event_id_random}/location/{session_obj?.event_location_id_random}"
|
||||
class="btn btn-sm preset-tonal-surface hover:preset-filled-tertiary-500 text-xs lg:text-sm"
|
||||
|
||||
Reference in New Issue
Block a user