Skip to content

Commit

Permalink
Add numerical user profile id to profile page.
Browse files Browse the repository at this point in the history
Set Fitting Icons to UserID and SystemID
  • Loading branch information
Jesterboxboy committed Oct 3, 2023
1 parent c40ea89 commit 5d18899
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Forseti/app/pages/ProfileManage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import {
IconMap2,
IconMapPin,
IconPhoneCall,
IconNumber,
} from '@tabler/icons-react';
import { createRef, useCallback, useEffect, useState } from 'react';
import { useApi } from '../hooks/api';
Expand Down Expand Up @@ -180,13 +181,21 @@ export const ProfileManage: React.FC = () => {
/>
<Space h='md' />
<TextInput
disabled={true}
icon={<IconId size='1rem' />}
label={i18n._t('Player title')}
description={i18n._t(
"This is a title that will be shown in rating table and in mobile assistant, also event administrators will use this title to find you and add to the event. Please don't use your single name here, as it's not unique enough. Name and surname is fine."
)}
{...form.getInputProps('title')}
/>
<TextInput
disabled={true}
icon={<IconNumber size='1rem' />}
label={i18n._t('System ID')}
description={i18n._t('Numerical identifier of your user profile.')}
value={personId}
/>
<Space h='md' />
<Select
icon={<IconMap2 size='1rem' />}
Expand Down

0 comments on commit 5d18899

Please sign in to comment.