Improved for showing the person's name
This commit is contained in:
@@ -277,6 +277,8 @@ export function handle_db_save_ae_obj_li__person(
|
|||||||
professional_title: obj.professional_title,
|
professional_title: obj.professional_title,
|
||||||
|
|
||||||
full_name: obj.full_name,
|
full_name: obj.full_name,
|
||||||
|
// full_name_override: obj.full_name_override,
|
||||||
|
full_name_override: obj.display_name_override,
|
||||||
|
|
||||||
affiliations: obj.affiliations,
|
affiliations: obj.affiliations,
|
||||||
|
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ export interface Person {
|
|||||||
professional_title?: null|string;
|
professional_title?: null|string;
|
||||||
|
|
||||||
full_name?: string;
|
full_name?: string;
|
||||||
|
full_name_override?: null|string; // was called display_name
|
||||||
|
|
||||||
affiliations?: null|string;
|
affiliations?: null|string;
|
||||||
|
|
||||||
|
|||||||
@@ -119,6 +119,8 @@ const ae_app_local_data_defaults: key_val = {
|
|||||||
// family_name: null,
|
// family_name: null,
|
||||||
// professional_title: null,
|
// professional_title: null,
|
||||||
full_name: null, // convenience
|
full_name: null, // convenience
|
||||||
|
full_name_override: null, // was called display_name
|
||||||
|
|
||||||
// affiliations: null,
|
// affiliations: null,
|
||||||
primary_email: null, // The primary email of the logged-in person/user
|
primary_email: null, // The primary email of the logged-in person/user
|
||||||
user_id: null, // The user ID of the logged-in user
|
user_id: null, // The user ID of the logged-in user
|
||||||
|
|||||||
@@ -306,7 +306,7 @@ async function handle_change_password() {
|
|||||||
Hide Sign-In Options
|
Hide Sign-In Options
|
||||||
{:else}
|
{:else}
|
||||||
<User class="mx-1 inline-block text-gray-500" />
|
<User class="mx-1 inline-block text-gray-500" />
|
||||||
{$ae_loc?.person?.full_name ?? '-- not set --'}
|
{$ae_loc?.person?.full_name_override ?? $ae_loc?.person?.full_name}
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
|
|
||||||
@@ -338,7 +338,7 @@ async function handle_change_password() {
|
|||||||
$ae_sess.show__sign_in_out__fields = !$ae_sess.show__sign_in_out__fields; // Toggle the visibility of the sign-in form
|
$ae_sess.show__sign_in_out__fields = !$ae_sess.show__sign_in_out__fields; // Toggle the visibility of the sign-in form
|
||||||
}}
|
}}
|
||||||
> -->
|
> -->
|
||||||
{$ae_loc?.person?.full_name ?? '-- not set --'}
|
{$ae_loc?.person?.full_name_override ?? $ae_loc?.person?.full_name}
|
||||||
<!-- <span class="text-sm text-gray-500">
|
<!-- <span class="text-sm text-gray-500">
|
||||||
{$ae_loc?.user.username ?? '-- not set --'}
|
{$ae_loc?.user.username ?? '-- not set --'}
|
||||||
</span> -->
|
</span> -->
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ max-w-max -->
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<User class="mx-1 inline-block text-gray-500" />
|
<User class="mx-1 inline-block text-gray-500" />
|
||||||
{$ae_loc?.person?.full_name ?? '-- not set --'}<br />
|
{$ae_loc?.person?.full_name_override ?? $ae_loc?.person?.full_name}<br />
|
||||||
<!-- <ShieldUser /> -->
|
<!-- <ShieldUser /> -->
|
||||||
<ShieldUser class="mx-1 inline-block text-gray-500" />
|
<ShieldUser class="mx-1 inline-block text-gray-500" />
|
||||||
{$ae_loc?.user?.username ?? '-- not set --'}<br />
|
{$ae_loc?.user?.username ?? '-- not set --'}<br />
|
||||||
|
|||||||
Reference in New Issue
Block a user