The Launcher is looking pretty good for posters.
This commit is contained in:
@@ -6,6 +6,7 @@ import { api } from '$lib/api';
|
||||
// import Element_ae_crud from '$lib/element_ae_crud.svelte';
|
||||
// import Launcher_file_cont from './launcher_file_cont.svelte';
|
||||
import Launcher_presenter_view from './launcher_presenter_view.svelte';
|
||||
import Launcher_presenter_view_posters from './launcher_presenter_view_posters.svelte';
|
||||
|
||||
import { liveQuery } from "dexie";
|
||||
// import { core_func } from '$lib/ae_core_functions';
|
||||
@@ -308,7 +309,13 @@ ae_promises[$events_slct.event_session_id] = events_func.load_ae_obj_li__event_p
|
||||
{#if $lq__event_presentation_obj_li}
|
||||
|
||||
<div class="text-xs"><strong>
|
||||
Presentations:
|
||||
{#if $lq__event_session_obj.type_code == 'poster'}
|
||||
<span class="fas fa-image"></span>
|
||||
Posters:
|
||||
{:else}
|
||||
<span class="fas fa-tv"></span>
|
||||
Presentations:
|
||||
{/if}
|
||||
{#if $ae_loc.administrator_access}
|
||||
({$lq__event_presentation_obj_li?.length})
|
||||
{/if}
|
||||
@@ -336,9 +343,15 @@ ae_promises[$events_slct.event_session_id] = events_func.load_ae_obj_li__event_p
|
||||
{#each $lq__event_presenter_obj_li as event_presenter_obj, index}
|
||||
{#if event_presenter_obj.event_presentation_id_random == event_presentation_obj.event_presentation_id_random}
|
||||
<li>
|
||||
<Launcher_presenter_view
|
||||
lq__event_presenter_obj={event_presenter_obj}
|
||||
{#if $lq__event_session_obj.type_code == 'poster'}
|
||||
<Launcher_presenter_view_posters
|
||||
lq__event_presenter_obj={event_presenter_obj}
|
||||
/>
|
||||
{:else}
|
||||
<Launcher_presenter_view
|
||||
lq__event_presenter_obj={event_presenter_obj}
|
||||
/>
|
||||
{/if}
|
||||
</li>
|
||||
{/if}
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user