Wrapping up for the day. It is pretty much Christmas...

This commit is contained in:
Scott Idem
2024-12-24 12:55:18 -05:00
parent 69abe2e906
commit b64e7a6b8a
4 changed files with 9 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
<script lang="ts">
/** @type {import('./$types').PageData} */
let log_lvl: number = 1;
let log_lvl: number = 0;
// *** Import Svelte specific
import { browser } from '$app/environment';

View File

@@ -233,6 +233,12 @@ function send_staff_notification_email() {
Commenter's Email: ${$idaa_slct.post_comment_obj.email ?? '-- not set --'}
</div>
<div>
Original Poster's Novi ID: ${$idaa_slct.post_obj.external_person_id ?? '-- not set --'}<br>
Original Poster's Name: ${$idaa_slct.post_obj.full_name ?? '-- not set --'}<br>
Original Poster's Email: ${$idaa_slct.post_obj.email ?? '-- not set --'}
</div>
<br>
<div>
@@ -264,12 +270,6 @@ function send_poster_notification_email() {
<p>Your BB post named "${$idaa_slct.post_obj.title ?? '-- not set --'}" has been commented on.</p>
</div>
<div>
Poster's Novi ID: ${$idaa_slct.post_obj.external_person_id ?? '-- not set --'}<br>
Poster's Name: ${$idaa_slct.post_obj.full_name ?? '-- not set --'}<br>
Poster's Email: ${$idaa_slct.post_obj.email ?? '-- not set --'}
</div>
<br>
<div>
@@ -282,7 +282,8 @@ function send_poster_notification_email() {
api_cfg: $ae_api,
from_email: $ae_loc.site_cfg_json?.noreply_email ?? 'noreply+idaabb@oneskyit.com',
from_name: $ae_loc.site_cfg_json?.noreply_name ?? 'IDAA BB NoReply',
to_email: $ae_loc.site_cfg_json?.admin_email ?? 'admin+bbpost@oneskyit.com', // 'scott+idaabb@oneskyit.com', // $idaa_slct.post_comment_obj.email,
// to_email: $ae_loc.site_cfg_json?.admin_email ?? 'admin+bbpost@oneskyit.com', // 'scott+idaabb@oneskyit.com',
to_email: $idaa_slct.post_obj.email,
to_name: $idaa_slct.post_obj.full_name ?? 'IDAA BB Poster',
subject: subject,
body_html: body_html,

View File

@@ -114,8 +114,6 @@ window.addEventListener('message', function(event) {
</script>
<!-- <div id="iframe_src">iframe src=</div> -->
<!-- IDAA Aether Apps for Novi - Bulletin Board (posts) iframe -->
<p><iframe width="100%" height="750" id="ae_idaa_bb_iframe" src="" style="min-height: 600px; max-height: 100%;" class="ae_idaa_iframe"></iframe></p>

View File

@@ -101,8 +101,6 @@ window.addEventListener('message', function(event) {
</script>
<!-- <div id="iframe_src">iframe src=</div> -->
<!-- IDAA Aether Apps for Novi - Recovery Meetings (events) iframe -->
<p><iframe width="100%" height="750" id="ae_idaa_recovery_meetings_iframe" src="" style="min-height: 600px; max-height: 100%;" class="ae_idaa_iframe"></iframe></p>