From d6d4c887285443f3bef6be15c920b36331e8eb8a Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Thu, 3 Oct 2024 12:45:28 -0400 Subject: [PATCH] Various changes... Should have saved last night. Also send_email should NOT default to test mode! --- src/lib/api.ts | 2 +- .../events/[event_id]/(launcher)/launcher_session_view.svelte | 4 ++++ static/manifest.json | 4 ++-- static/robots.txt | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 static/robots.txt diff --git a/src/lib/api.ts b/src/lib/api.ts index 6766b46c..730a98b5 100644 --- a/src/lib/api.ts +++ b/src/lib/api.ts @@ -814,7 +814,7 @@ export let send_email = async function send_email( data = {}, return_obj = false, return_meta = false, - test = true, + test = false, log_lvl = 0 } : { api_cfg: any, diff --git a/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte b/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte index 344b1b07..89172ba0 100644 --- a/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte +++ b/src/routes/events/[event_id]/(launcher)/launcher_session_view.svelte @@ -152,9 +152,13 @@ ae_promises[$events_slct.event_session_id] = events_func.load_ae_obj_li__event_p type="button" on:click={() => { if ($events_loc.launcher.time_format == 'time_12_short') { + // $events_loc.launcher.datetime_format = 'datetime_long'; $events_loc.launcher.time_format = 'time_short'; + $events_loc.launcher.time_hours = 24; } else { $events_loc.launcher.time_format = 'time_12_short'; + // $events_loc.launcher.datetime_format = 'datetime_12_long'; + $events_loc.launcher.time_hours = 12; } }} > diff --git a/static/manifest.json b/static/manifest.json index 96b80afb..50771fc9 100644 --- a/static/manifest.json +++ b/static/manifest.json @@ -1,6 +1,6 @@ { "background_color": "hsl(220, 65%, 31%)", - "description": "The One Sky IT Aether Progressive Web App for One Sky IT Demo", + "description": "The One Sky IT Aether Progressive Web App", "display": "fullscreen", "icons": [ { @@ -85,7 +85,7 @@ } ], "name": "One Sky IT - One Sky IT Aether PWA", - "short_name": "ISHLT Aether PWA", + "short_name": "Aether PWA", "start_url": "/", "testing": "One Sky IT" } diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 00000000..77470cb3 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file