feat: add optional student nickname for informal display
Keep legal first and last names for formal lists; show DisplayFirstName on teams, calendars, and import matching so two Josiahs can be told apart. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -67,6 +67,10 @@
|
||||
Color="Color.Primary">
|
||||
@context.Item.LastNameFirstName
|
||||
</MudLink>
|
||||
@if (!string.IsNullOrWhiteSpace(context.Item.Nickname))
|
||||
{
|
||||
<MudText Typo="Typo.caption" Class="mud-text-secondary">@context.Item.Nickname</MudText>
|
||||
}
|
||||
@if (context.Item.OfficerRole != null)
|
||||
{
|
||||
<MudChip T="string" Size="Size.Small" Icon="@(AppIcons.OfficerRoleIcon(context.Item.OfficerRole.Value))">@context.Item.OfficerRole</MudChip>
|
||||
|
||||
Reference in New Issue
Block a user