Bug fix for access denied message. Better formatting and extra Cancel edit button

This commit is contained in:
Scott Idem
2025-09-08 15:21:43 -04:00
parent 92a00ddee9
commit 88c4f4e891
3 changed files with 32 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "osit-aether-app-svelte",
"version": "3.0.5",
"version": "3.0.6",
"description": "One Sky IT's Aether App created with Svelte, SvelteKit, Tailwind CSS, Lucide, Font Awesome, and Skeleton UI. -Scott Idem",
"homepage": "https://oneskyit.com/",
"private": true,

View File

@@ -302,7 +302,7 @@ if (!$ae_loc.authenticated_access && $events_loc.pres_mgmt.show_content__session
{/if}
{/if}
<!-- {#if ( $ae_loc.trusted_access && $ae_loc.edit_mode) || (!$ae_loc.trusted_access && !($events_loc.auth__person?.id && $events_loc.auth__kv.session[$lq__event_session_obj?.event_session_id])) } -->
{#if !($events_loc.auth__person?.id) }
{#if (!$events_loc.auth__person?.id && !$ae_loc.trusted_access) || ($ae_loc.trusted_access && $ae_loc.edit_mode) }
<Element_data_store
ds_code="events__pres_mgmt__session_page_restricted_access"

View File

@@ -2088,7 +2088,13 @@ $effect(() => {
{/if}
<div class="ae_section ae_options ae_row ae_actions event__options event__actions"> <!-- BEGIN: section event__options -->
<div
class="
ae_section ae_options ae_row ae_actions event__options event__actions
flex flex-row flex-wrap gap-2 items-center justify-between w-full
"
> <!-- BEGIN: section event__options -->
<span class="flex flex-row flex-wrap gap-1 items-center justify-center">
{#if $idaa_slct.event_id}
<button
type="submit"
@@ -2182,6 +2188,29 @@ $effect(() => {
</button>
{/if}
{/if}
</span>
<span>
<button
type="button"
class="
novi_btn
btn btn-sm
preset-filled-warning-200-800 hover:preset-filled-success-200-800
transition
"
onclick={() => {
$idaa_sess.recovery_meetings.edit__event_obj = false;
if (log_lvl) {
console.log(`Toggle edit__event_obj: ${$idaa_sess.recovery_meetings.edit__event_obj}`);
}
}}
title="View this Recovery Meeting"
>
<!-- <span class="far fa-window-close m-1"></span> -->
<span class="fas fa-times m-1 text-neutral-800/80"></span>
Cancel Edit
</button>
</span>
</div>
</form>