Lots of updates....

This commit is contained in:
Scott Idem
2024-03-18 21:36:03 -04:00
parent 9b02b2f86c
commit d3ae087cd6
13 changed files with 531 additions and 229 deletions

View File

@@ -30,8 +30,8 @@ export async function load({ params, parent, url }) { // route
let submenu = {
main: {name: 'Main', href: '/events_badges', access: false},
manage: {name: 'Manage', href: '/events_badges/manage', access: 'administrator', disable: true, hide: true},
review: {name: 'Review', href: '/events_badges/review', access: false, disable: false, hide: false},
print: {name: 'Print', href: '/events_badges/print', access: 'trusted', disable: false, hide: false},
review: {name: 'Review', href: '/events_badges/review', access: false, disable: true, hide: false},
print: {name: 'Print', href: '/events_badges/print', access: 'trusted', disable: true, hide: false},
view: {name: 'View', href: '/events_badges/view', access: 'trusted', hide: true}, // event_badge_id
// new: {name: 'New', href: '/events_badges/new'},
// sponsorships: {name: 'Sponsorships', href: '/sponsorships', disable: true, hide: true},

View File

@@ -50,7 +50,11 @@ onMount(() => {
<section class="ae_events_badges md:container h-full mx-auto">
<h1 class="h2">Events - Badges</h1>
<h2 class="h3">Badges for ISHLT 2024 ({$events_slct.event_id})</h2>
<h3 class="h4">Restricted Access</h3>
<p>Accessing the badge printing for ISHLT 2024 is currently restricted</p>
<Element_data_store
ds_code="events__badges__overview"
@@ -58,12 +62,10 @@ onMount(() => {
for_type="event"
for_id={$events_slct.event_id}
display="block"
class_li="variant-ghost-surface p-2"
class_li="p-2"
/>
<a href="/{$events_slct.event_id}">Event ID {$events_slct.event_id}</a>
<Element_data_store
<!-- <Element_data_store
ds_code="events__badges__example"
ds_type="html"
for_type="event"
@@ -74,7 +76,7 @@ onMount(() => {
class_li="variant-ghost-surface p-2"
try_cache={true}
show_edit={false}
/>
/> -->
</section>