diff --git a/src/lib/e_app_help_tech.svelte b/src/lib/e_app_help_tech.svelte index 8efbd2b7..d8d76829 100644 --- a/src/lib/e_app_help_tech.svelte +++ b/src/lib/e_app_help_tech.svelte @@ -55,6 +55,7 @@ if (log_lvl) { } let help_tech_text: string = $state(''); +let hide_additional_info: boolean = $state(true); function preventDefault(fn) { return function (event) { @@ -102,12 +103,13 @@ function send_help_tech_email() { api.send_email({ api_cfg: $ae_api, from_email: $ae_loc.site_cfg_json?.noreply_email ?? 'noreply+tech@oneskyit.com', - from_name: $ae_loc.site_cfg_json?.noreply_name ?? 'Tech NoReply', + from_name: $ae_loc.site_cfg_json?.noreply_name ?? 'IT NoReply', // to_email: $ae_loc.site_cfg_json?.admin_email ?? 'admin+tech@oneskyit.com', // 'scott+idaabb@oneskyit.com', - to_email: 'scott+tech@oneskyit.com', + to_email: 'it+tech@oneskyit.com', // to_email: $idaa_slct.post_obj.email, // to_email: 'scott+idaabb@oneskyit.com', - to_name: $ae_loc.site_cfg_json?.admin_name ?? 'Tech Admin', + // to_name: $ae_loc.site_cfg_json?.admin_name ?? 'IT Tech', + to_name: 'IT Tech', // to_name: $idaa_slct.post_obj.full_name ?? 'IDAA BB Poster', subject: subject, body_html: body_html, @@ -121,18 +123,23 @@ function send_help_tech_email() {
@@ -144,114 +151,204 @@ function send_help_tech_email() { transition-all " > - {#if e_success} - - - Help Requested - - {:else} - - - - Notify Technical Support - - - {/if} - -
{ - // Do stuff... - send_help_tech_email(); - - // Hide the request form - $ae_sess.show_help_tech = false; - })} - > - -
+
-

- This is intended for technical issues only. Please contact your organization's staff if you have a question about your membership, recorded content, meetings, or posts. -

+
{ + // Do stuff... + send_help_tech_email(); -
-

- Additional Information Included -

-
- + + {:else} @@ -259,7 +356,6 @@ function send_help_tech_email() { onclick={() => ($ae_sess.show_help_tech = true)} class=" btn btn-sm - m-1 preset-outlined-warning-600-400 transition-all {btn_class} @@ -267,9 +363,11 @@ function send_help_tech_email() { title={btn_title} > {#if !hide_icon} - + {/if} + {/if} diff --git a/src/routes/idaa/(idaa)/+layout.svelte b/src/routes/idaa/(idaa)/+layout.svelte index 5ee83520..456da0bf 100644 --- a/src/routes/idaa/(idaa)/+layout.svelte +++ b/src/routes/idaa/(idaa)/+layout.svelte @@ -194,8 +194,10 @@ if (browser) { {#if (browser && ($ae_loc.trusted_access || ($ae_loc.authenticated_access && $idaa_loc.novi_uuid)))} + +