Update to show the timestamps for bio updates.

This commit is contained in:
Scott Idem
2024-09-25 14:47:07 -04:00
parent cc4446b549
commit 514f36d998
2 changed files with 13 additions and 2 deletions

View File

@@ -123,7 +123,7 @@ $: if (browser && ae_tmp.biography === null && $lq__event_session_obj?.poc_kv_js
<!-- <p>1,250 characters is roughly 250 words</p> -->
<!-- <p>1,375 characters is roughly 250 to 300 words</p> -->
<div class="flex flex-wrap gap-2 p-1">
<div class="flex flex-wrap gap-2 p-1 items-center">
<button
type="button"
class="btn btn-md variant-soft-primary hover:variant-filled-primary"
@@ -167,6 +167,12 @@ $: if (browser && ae_tmp.biography === null && $lq__event_session_obj?.poc_kv_js
Save Biography
</button>
{#if $lq__event_session_obj.poc_kv_json[poc_type]?.biography_updated_on}
<span class="text-sm text-gray-500">
Last saved: {ae_util.iso_datetime_formatter($lq__event_session_obj.poc_kv_json[poc_type]?.biography_updated_on, 'datetime_12_long')}
</span>
{/if}
</div>
</div>

View File

@@ -1393,7 +1393,7 @@ $: if ($lq__event_presenter_obj) {
<!-- <p>1,250 characters is roughly 250 words</p> -->
<!-- <p>1,375 characters is roughly 250 to 300 words</p> -->
<div class="flex flex-wrap gap-2 p-1">
<div class="flex flex-wrap gap-2 p-1 items-center">
<button
type="button"
class="btn btn-md variant-glass-primary hover:variant-filled-primary"
@@ -1434,6 +1434,11 @@ $: if ($lq__event_presenter_obj) {
Save Biography
</button>
{#if $lq__event_presenter_obj.data_json?.biography_updated_on}
<span class="text-sm text-gray-500">
Last saved: {ae_util.iso_datetime_formatter($lq__event_presenter_obj.data_json?.biography_updated_on, 'datetime_12_long')}
</span>
{/if}
</div>
</li>