Cleaning things up... again. I will have to come back to this again later probably.

This commit is contained in:
Scott Idem
2026-06-15 15:13:09 -04:00
parent 37c8e20302
commit b90daa0a43
2 changed files with 7 additions and 4 deletions

View File

@@ -146,7 +146,7 @@ if (!$events_sess.pres_mgmt) $events_sess.pres_mgmt = {};
WHY: Admins and session POCs need to upload/manage session-level files (e.g. agendas,
handouts) separately from presenter files. The toggle was present for years and was
inadvertently dropped during the V3 migration. -->
{#if $ae_loc.authenticated_access}
<!-- {#if $ae_loc.authenticated_access} -->
<header class="ae_module_header flex flex-col items-start justify-between gap-2 sm:flex-row">
<button
type="button"
@@ -156,7 +156,10 @@ if (!$events_sess.pres_mgmt) $events_sess.pres_mgmt = {};
? null
: 'manage_files';
}}
disabled={!$ae_loc.authenticated_access}
class:cursor-not-allowed={!$ae_loc.authenticated_access}
class="btn btn-md"
class:opacity-50={!$ae_loc.authenticated_access}
class:preset-filled-secondary-500={pres_mgmt_loc.current.show_content__session_view === 'manage_files'}
class:preset-filled-tertiary-500={pres_mgmt_loc.current.show_content__session_view !== 'manage_files'}
title="Toggle between session info and session file management">
@@ -190,7 +193,7 @@ if (!$events_sess.pres_mgmt) $events_sess.pres_mgmt = {};
{/if}
</div>
</header>
{/if}
<!-- {/if} -->
{#if pres_mgmt_loc.current.show_content__session_view === 'manage_files' && $ae_loc.authenticated_access}
<!-- Session Files Section -->

View File

@@ -306,13 +306,13 @@ async function send_poc_email_link() {
</Element_ae_obj_field_editor>
{/if}
{:else}
<div class="text-xl leading-snug font-bold">
<!-- <div class="text-xl leading-snug font-bold">
{$lq__event_session_obj.name}
</div>
{#if !pres_mgmt_loc.current.hide__session_code && $lq__event_session_obj.code}
<span class="badge preset-tonal-surface mt-1 text-xs"
>code: {$lq__event_session_obj.code}</span>
{/if}
{/if} -->
{/if}
</div>
{:else}