More cosmetic and permissions review

This commit is contained in:
Scott Idem
2026-04-01 18:41:23 -04:00
parent 38c5345060
commit 0767e2ff82
2 changed files with 17 additions and 17 deletions

View File

@@ -184,7 +184,7 @@ async function on_delete(method: 'delete' | 'disable') {
</span>
</button>
<button
<!-- <button
type="button"
onclick={() => {
$events_loc.pres_mgmt.hide__launcher_link =
@@ -202,9 +202,9 @@ async function on_delete(method: 'delete' | 'disable') {
? 'Show Launcher Links'
: 'Hide Launcher Links?'}
</span>
</button>
</button> -->
<button
<!-- <button
type="button"
onclick={() => {
$events_loc.pres_mgmt.hide__launcher_link_legacy =
@@ -223,7 +223,7 @@ async function on_delete(method: 'delete' | 'disable') {
? 'Show Legacy Launcher Links'
: 'Hide Legacy Launcher Links?'}
</span>
</button>
</button> -->
<button
type="button"
@@ -285,13 +285,13 @@ async function on_delete(method: 'delete' | 'disable') {
{$events_loc.pres_mgmt.hide__session_li_poc_field
? 'Show POC Column'
: 'Hide POC Column?'}
</span>
</span>
</button>
</div>
</section>
<!-- Record Controls for the Event itself -->
{#if $ae_loc.administrator_access}
{#if $ae_loc.administrator_access && $ae_loc.edit_mode || $ae_loc.manager_access}
<section>
<h4
class="text-surface-500 mb-2 text-xs font-semibold tracking-wider uppercase">
@@ -313,13 +313,13 @@ async function on_delete(method: 'delete' | 'disable') {
</section>
{/if}
<!-- Pres Mgmt query options (limits, filters) — this component belongs here on the session search page -->
{#if $ae_loc.authenticated_access}
<!-- Pres Mgmt query options (limits, filters) — this component belongs here on the session search page (public+ only; was authenticated+) -->
{#if $ae_loc.public_access}
<section>
<h4
<!-- <h4
class="text-surface-500 mb-2 text-xs font-semibold tracking-wider uppercase">
Query Options
</h4>
</h4> -->
<Comp__pres_mgmt_menu_opts hide={false} />
</section>
{/if}

View File

@@ -53,17 +53,17 @@ import {
<button
type="button"
onclick={() => {
$events_loc.pres_mgmt.hide__menu_opts =
!$events_loc.pres_mgmt.hide__menu_opts;
$events_loc.pres_mgmt.expand__menu_opts =
!$events_loc.pres_mgmt.expand__menu_opts;
}}
class="btn btn-sm preset-tonal-info border-info-500 border">
{#if $events_loc.pres_mgmt.hide__menu_opts}
{#if !$events_loc.pres_mgmt.expand__menu_opts}
<ChevronUp size="1em" class="m-1" />
{:else}
<ChevronDown size="1em" class="m-1" />
{/if}
Æ Pres Mgmt Menu Options
{#if $events_loc.pres_mgmt.hide__menu_opts}
{#if !$events_loc.pres_mgmt.expand__menu_opts}
<ChevronUp size="1em" class="m-1" />
{:else}
<ChevronDown size="1em" class="m-1" />
@@ -73,7 +73,7 @@ import {
<div
class="flex flex-row flex-wrap items-center justify-between gap-1"
class:hidden={$events_loc.pres_mgmt.hide__menu_opts}>
class:hidden={!$events_loc.pres_mgmt.expand__menu_opts}>
{#if $ae_loc.authenticated_access}
<div class="flex flex-col items-end justify-center gap-1">
<span class="flex flex-col items-end justify-center gap-1">
@@ -478,7 +478,7 @@ import {
</button>
<!-- Show/Hide launcher links (legacy version) -->
<button
<!-- <button
type="button"
onclick={() => {
$events_loc.pres_mgmt.hide__launcher_link_legacy =
@@ -496,7 +496,7 @@ import {
? 'Show Legacy Launcher Links'
: 'Hide Legacy Launcher Links?'}
</span>
</button>
</button> -->
<!-- Show/Hide links to the location (room) -->
<button