Skip to content

Commit

Permalink
Exibindo ID dos Atendentes
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Mar 19, 2023
1 parent 3379252 commit 19ee733
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
17 changes: 11 additions & 6 deletions frontend/src/pages/Users/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ const Users = () => {
<ConfirmationModal
title={
deletingUser &&
`${i18n.t("users.confirmationModal.deleteTitle")} ${
deletingUser.name
`${i18n.t("users.confirmationModal.deleteTitle")} ${deletingUser.name
}?`
}
open={confirmModalOpen}
Expand Down Expand Up @@ -246,7 +245,12 @@ const Users = () => {
<Table size="small">
<TableHead>
<TableRow>
<TableCell align="center">{i18n.t("users.table.name")}</TableCell>
<TableCell align="center">
{i18n.t("users.table.id")}
</TableCell>
<TableCell align="center">
{i18n.t("users.table.name")}
</TableCell>
<TableCell align="center">
{i18n.t("users.table.email")}
</TableCell>
Expand All @@ -255,13 +259,13 @@ const Users = () => {
</TableCell>
<TableCell align="center">
{i18n.t("users.table.whatsapp")}
</TableCell>
</TableCell>
<TableCell align="center">
{i18n.t("users.table.startWork")}
</TableCell>
</TableCell>
<TableCell align="center">
{i18n.t("users.table.endWork")}
</TableCell>
</TableCell>
<TableCell align="center">
{i18n.t("users.table.actions")}
</TableCell>
Expand All @@ -271,6 +275,7 @@ const Users = () => {
<>
{users.map((user) => (
<TableRow key={user.id}>
<TableCell align="center">{user.id}</TableCell>
<TableCell align="center">{user.name}</TableCell>
<TableCell align="center">{user.email}</TableCell>
<TableCell align="center">{user.profile}</TableCell>
Expand Down
1 change: 1 addition & 0 deletions frontend/src/translate/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ const messages = {
users: {
title: "Attendants",
table: {
id: "ID",
name: "Name",
email: "Email",
profile: "Profile",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/translate/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ const messages = {
users: {
title: "Asistentes",
table: {
id: "ID",
name: "Nombre",
email: "Correo electrónico",
profile: "Perfil",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/translate/languages/pt.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ const messages = {
users: {
title: "Atendentes",
table: {
id: "ID",
name: "Nome",
email: "E-mail",
profile: "Perfil",
Expand Down

0 comments on commit 19ee733

Please sign in to comment.