More cosmetic and permissions review
This commit is contained in:
@@ -184,7 +184,7 @@ async function on_delete(method: 'delete' | 'disable') {
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<!-- <button
|
||||||
type="button"
|
type="button"
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
$events_loc.pres_mgmt.hide__launcher_link =
|
$events_loc.pres_mgmt.hide__launcher_link =
|
||||||
@@ -202,9 +202,9 @@ async function on_delete(method: 'delete' | 'disable') {
|
|||||||
? 'Show Launcher Links'
|
? 'Show Launcher Links'
|
||||||
: 'Hide Launcher Links?'}
|
: 'Hide Launcher Links?'}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button> -->
|
||||||
|
|
||||||
<button
|
<!-- <button
|
||||||
type="button"
|
type="button"
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
$events_loc.pres_mgmt.hide__launcher_link_legacy =
|
$events_loc.pres_mgmt.hide__launcher_link_legacy =
|
||||||
@@ -223,7 +223,7 @@ async function on_delete(method: 'delete' | 'disable') {
|
|||||||
? 'Show Legacy Launcher Links'
|
? 'Show Legacy Launcher Links'
|
||||||
: 'Hide Legacy Launcher Links?'}
|
: 'Hide Legacy Launcher Links?'}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button> -->
|
||||||
|
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
@@ -285,13 +285,13 @@ async function on_delete(method: 'delete' | 'disable') {
|
|||||||
{$events_loc.pres_mgmt.hide__session_li_poc_field
|
{$events_loc.pres_mgmt.hide__session_li_poc_field
|
||||||
? 'Show POC Column'
|
? 'Show POC Column'
|
||||||
: 'Hide POC Column?'}
|
: 'Hide POC Column?'}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Record Controls for the Event itself -->
|
<!-- 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>
|
<section>
|
||||||
<h4
|
<h4
|
||||||
class="text-surface-500 mb-2 text-xs font-semibold tracking-wider uppercase">
|
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>
|
</section>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
<!-- Pres Mgmt query options (limits, filters) — this component belongs here on the session search page -->
|
<!-- Pres Mgmt query options (limits, filters) — this component belongs here on the session search page (public+ only; was authenticated+) -->
|
||||||
{#if $ae_loc.authenticated_access}
|
{#if $ae_loc.public_access}
|
||||||
<section>
|
<section>
|
||||||
<h4
|
<!-- <h4
|
||||||
class="text-surface-500 mb-2 text-xs font-semibold tracking-wider uppercase">
|
class="text-surface-500 mb-2 text-xs font-semibold tracking-wider uppercase">
|
||||||
Query Options
|
Query Options
|
||||||
</h4>
|
</h4> -->
|
||||||
<Comp__pres_mgmt_menu_opts hide={false} />
|
<Comp__pres_mgmt_menu_opts hide={false} />
|
||||||
</section>
|
</section>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -53,17 +53,17 @@ import {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
$events_loc.pres_mgmt.hide__menu_opts =
|
$events_loc.pres_mgmt.expand__menu_opts =
|
||||||
!$events_loc.pres_mgmt.hide__menu_opts;
|
!$events_loc.pres_mgmt.expand__menu_opts;
|
||||||
}}
|
}}
|
||||||
class="btn btn-sm preset-tonal-info border-info-500 border">
|
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" />
|
<ChevronUp size="1em" class="m-1" />
|
||||||
{:else}
|
{:else}
|
||||||
<ChevronDown size="1em" class="m-1" />
|
<ChevronDown size="1em" class="m-1" />
|
||||||
{/if}
|
{/if}
|
||||||
Æ Pres Mgmt Menu Options
|
Æ 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" />
|
<ChevronUp size="1em" class="m-1" />
|
||||||
{:else}
|
{:else}
|
||||||
<ChevronDown size="1em" class="m-1" />
|
<ChevronDown size="1em" class="m-1" />
|
||||||
@@ -73,7 +73,7 @@ import {
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
class="flex flex-row flex-wrap items-center justify-between gap-1"
|
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}
|
{#if $ae_loc.authenticated_access}
|
||||||
<div class="flex flex-col items-end justify-center gap-1">
|
<div class="flex flex-col items-end justify-center gap-1">
|
||||||
<span 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>
|
</button>
|
||||||
|
|
||||||
<!-- Show/Hide launcher links (legacy version) -->
|
<!-- Show/Hide launcher links (legacy version) -->
|
||||||
<button
|
<!-- <button
|
||||||
type="button"
|
type="button"
|
||||||
onclick={() => {
|
onclick={() => {
|
||||||
$events_loc.pres_mgmt.hide__launcher_link_legacy =
|
$events_loc.pres_mgmt.hide__launcher_link_legacy =
|
||||||
@@ -496,7 +496,7 @@ import {
|
|||||||
? 'Show Legacy Launcher Links'
|
? 'Show Legacy Launcher Links'
|
||||||
: 'Hide Legacy Launcher Links?'}
|
: 'Hide Legacy Launcher Links?'}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button> -->
|
||||||
|
|
||||||
<!-- Show/Hide links to the location (room) -->
|
<!-- Show/Hide links to the location (room) -->
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user