Now with more download and copy link options.
This commit is contained in:
@@ -6,7 +6,6 @@ import { events_func } from '$lib/ae_events_functions';
|
||||
|
||||
import Comp_event_session_obj_li from '../../../events_pres_mgmt/ae_comp__event_session_obj_li_wrapper.svelte';
|
||||
import Element_ae_crud from '$lib/element_ae_crud.svelte';
|
||||
import Element_manage_event_file_li_wrap from '$lib/element_manage_event_file_li_all.svelte';
|
||||
import Comp_event_device_obj_li from './../device/ae_comp__event_device_obj_li_wrapper.svelte';
|
||||
|
||||
// Exports
|
||||
|
||||
@@ -901,6 +901,7 @@ async function handle_qry__event_session(
|
||||
|
||||
<Comp_event_file_obj_tbl
|
||||
bind:event_file_id_random_li={event_file_id_random_li}
|
||||
bind:show_direct_download={$events_loc.pres_mgmt.show__direct_download}
|
||||
show_location_fields={true}
|
||||
show_presenter_fields={true}
|
||||
show_presentation_fields={true}
|
||||
|
||||
@@ -224,6 +224,33 @@ let ae_triggers: key_val = {};
|
||||
|
||||
{#if $ae_loc.authenticated_access}
|
||||
<div class="flex flex-col gap-1 items-center">
|
||||
<!-- Button to toggle between the showing additional hidden download buttons -->
|
||||
{#if $events_loc.pres_mgmt.show__direct_download}
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
$events_loc.pres_mgmt.show__direct_download = !$events_loc.pres_mgmt.show__direct_download;
|
||||
}}
|
||||
class="btn btn-sm variant-ghost-success"
|
||||
title="Hide additional direct download and copy link buttons?"
|
||||
>
|
||||
<span class="fas fa-eye-slash m-1"></span>
|
||||
Hide Download Buttons?
|
||||
</button>
|
||||
{:else}
|
||||
<button
|
||||
type="button"
|
||||
on:click={() => {
|
||||
$events_loc.pres_mgmt.show__direct_download = !$events_loc.pres_mgmt.show__direct_download;
|
||||
}}
|
||||
class="btn btn-sm variant-ghost-warning"
|
||||
title="Show additional direct download and copy link buttons?"
|
||||
>
|
||||
<span class="fas fa-eye m-1"></span>
|
||||
Show Download Buttons?
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
<!-- Button to toggle between the showing hidden sessions -->
|
||||
{#if $events_loc.pres_mgmt.qry_hidden == 'all'}
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user