mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Users: Add numerical indentifiers to detail pages (#95620)
* add numerical indentifiers to frontend while they're still valid * lowercase identifier
This commit is contained in:
parent
6c45f7f556
commit
d77fc50198
@ -87,6 +87,7 @@ export function UserProfile({
|
|||||||
<div>
|
<div>
|
||||||
<table className="filter-table form-inline">
|
<table className="filter-table form-inline">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<UserProfileRow label="Numerical identifier" value={user.id.toString()} locked={true} />
|
||||||
<UserProfileRow
|
<UserProfileRow
|
||||||
label="Name"
|
label="Name"
|
||||||
value={user.name}
|
value={user.name}
|
||||||
|
@ -50,6 +50,7 @@ export function ServiceAccountProfile({ serviceAccount, timeZone, onChange }: Pr
|
|||||||
<h3>Information</h3>
|
<h3>Information</h3>
|
||||||
<table className="filter-table">
|
<table className="filter-table">
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<ServiceAccountProfileRow label="Numerical identifier" value={serviceAccount.id.toString()} disabled={true} />
|
||||||
<ServiceAccountProfileRow
|
<ServiceAccountProfileRow
|
||||||
label="Name"
|
label="Name"
|
||||||
value={serviceAccount.name}
|
value={serviceAccount.name}
|
||||||
|
@ -48,6 +48,9 @@ export const TeamSettings = ({ team, updateTeam }: Props) => {
|
|||||||
<Stack direction={'column'} gap={3}>
|
<Stack direction={'column'} gap={3}>
|
||||||
<form onSubmit={handleSubmit(onSubmit)} style={{ maxWidth: '600px' }}>
|
<form onSubmit={handleSubmit(onSubmit)} style={{ maxWidth: '600px' }}>
|
||||||
<FieldSet label="Team details">
|
<FieldSet label="Team details">
|
||||||
|
<Field label="Numerical identifier" disabled={true}>
|
||||||
|
<Input value={team.id} id="id-input" />
|
||||||
|
</Field>
|
||||||
<Field
|
<Field
|
||||||
label="Name"
|
label="Name"
|
||||||
disabled={!canWriteTeamSettings}
|
disabled={!canWriteTeamSettings}
|
||||||
|
Loading…
Reference in New Issue
Block a user