Made the IDAA ideas more staff friendly.

The IDAA Posts now show the person's name even if anonymous.
This commit is contained in:
Scott Idem
2026-05-18 15:01:52 -04:00
parent 3ed1a2a6c4
commit 2d552b36fd
3 changed files with 102 additions and 3 deletions

View File

@@ -114,7 +114,20 @@ $effect(() => {
<section
class="ae_section ae_meta post__meta mt-4 flex flex-row items-center justify-between gap-2 text-xs text-gray-500">
<div class="ae_group flex flex-col gap-1">
{#if $lq__post_obj?.anonymous}
{#if $ae_loc.trusted_access && $lq__post_obj?.anonymous}
<div class="post__posted_by">
Posted by: <span class="fas fa-user-secret"></span>
<span class="post__full_name">
{$lq__post_obj?.full_name}
*Anonymous*
</span>
{#if $ae_loc.trusted_access && $lq__post_obj?.email}
<a
href="mailto:{$lq__post_obj?.email}?subject=IDAA BB Post"
>{$lq__post_obj?.email}</a>
{/if}
</div>
{:else if $lq__post_obj?.anonymous}
<div class="post__posted_by">
Posted by: <span class="fas fa-user-secret"></span>
<span class="post__full_name">Anonymous</span>
@@ -251,7 +264,20 @@ $effect(() => {
class="post_comment__posted_by comment_by_container">
<span class="comment_by_lable"
>Comment by:</span>
{#if post_comment_obj.anonymous}
{#if $ae_loc.trusted_access && post_comment_obj.anonymous}
<span class="fas fa-user-secret"></span>
<span
class="comment_by_full_name anonymous"
>
{post_comment_obj.full_name}
*Anonymous*
</span>
{#if $ae_loc.trusted_access && post_comment_obj?.email}
<a
href="mailto:{post_comment_obj?.email}?subject=IDAA BB Post Comment"
>{post_comment_obj?.email}</a>
{/if}
{:else if post_comment_obj.anonymous}
<span class="fas fa-user-secret"></span>
<span
class="comment_by_full_name anonymous"

View File

@@ -160,7 +160,22 @@ onMount(() => {
<div
class="ae_footer ae_meta post__meta m-1 flex flex-row items-center justify-center gap-2 text-sm text-gray-500/80">
{#if idaa_post_obj.anonymous}
{#if $ae_loc.trusted_access && idaa_post_obj.anonymous}
<div class="post__posted_by">
<span class="text-xs">Posted by:</span>
<span class="fas fa-user-secret"></span>
<span class="post__full_name">
{idaa_post_obj.full_name}
*Anonymous*
</span>
{#if idaa_post_obj.email}
(<a
href="mailto:{idaa_post_obj.email}?subject=IDAA BB Post"
>{idaa_post_obj.email}</a
>)
{/if}
</div>
{:else if idaa_post_obj.anonymous}
<div class="post__posted_by">
<span class="text-xs">Posted by:</span>
<span class="fas fa-user-secret"></span>