Add helper text to deactivate switch of users
This commit is contained in:
parent
7eeb60539f
commit
915da545e8
@ -84,7 +84,10 @@ export const UserEdit = props => (
|
|||||||
<TextInput source="displayname" />
|
<TextInput source="displayname" />
|
||||||
<PasswordInput source="password" autoComplete="new-password" />
|
<PasswordInput source="password" autoComplete="new-password" />
|
||||||
<BooleanInput source="admin" />
|
<BooleanInput source="admin" />
|
||||||
<BooleanInput source="deactivated" />
|
<BooleanInput
|
||||||
|
source="deactivated"
|
||||||
|
helperText="resources.users.helper.deactivated"
|
||||||
|
/>
|
||||||
</SimpleForm>
|
</SimpleForm>
|
||||||
</Edit>
|
</Edit>
|
||||||
);
|
);
|
||||||
|
|||||||
@ -28,6 +28,10 @@ export default {
|
|||||||
displayname: "Anzeigename",
|
displayname: "Anzeigename",
|
||||||
password: "Passwort",
|
password: "Passwort",
|
||||||
},
|
},
|
||||||
|
helper: {
|
||||||
|
deactivated:
|
||||||
|
"Deaktivierte Nutzer können nicht wieder aktiviert werden.",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
rooms: {
|
rooms: {
|
||||||
name: "Raum |||| Räume",
|
name: "Raum |||| Räume",
|
||||||
|
|||||||
@ -28,6 +28,9 @@ export default {
|
|||||||
displayname: "Displayname",
|
displayname: "Displayname",
|
||||||
password: "Password",
|
password: "Password",
|
||||||
},
|
},
|
||||||
|
helper: {
|
||||||
|
deactivated: "Deactivated users cannot be reactivated",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
rooms: {
|
rooms: {
|
||||||
name: "Room |||| Rooms",
|
name: "Room |||| Rooms",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user