Skip to content

Commit

Permalink
feat(2594): adds email column in users table
Browse files Browse the repository at this point in the history
  • Loading branch information
tHe-AK committed Sep 24, 2024
1 parent 0922821 commit 97963c0
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,20 @@
</td>
</ng-container>

<ng-container matColumnDef="email">
<th mat-header-cell *matHeaderCellDef mat-sort-header>
{{
'Admin.Modules.Users.Components.UsersTable.ColumnsName.Email'
| translate
}}
</th>
<td mat-cell *matCellDef="let user">
<div *ngIf="user.email" class="subItem">
{{ user.email }}
</div>
</td>
</ng-container>

<ng-container matColumnDef="firstDone">
<th mat-header-cell *matHeaderCellDef mat-sort-header>
{{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export class UsersComponent implements OnInit, OnDestroy {
public dataSource: MatTableDataSource<UserMapped>;
public readonly displayedColumns: string[] = [
'name',
'email',
'firstDone',
'lastDone',
'lastVisit',
Expand Down
1 change: 1 addition & 0 deletions frontend-angular/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"UsersTable": {
"ColumnsName": {
"Favorite": "Favorite",
"Email": "Email",
"FirstVisit": "First visit",
"LastVisit": "Last visit",
"LastStudyActivity": "Last study activity",
Expand Down
1 change: 1 addition & 0 deletions frontend-angular/src/assets/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"UsersTable": {
"ColumnsName": {
"Favorite": "Любимый",
"Email": "Электронное письмо",
"FirstVisit": "Первый визит",
"LastVisit": "Последнее посещение",
"LastStudyActivity": "Последнее учебное занятие",
Expand Down

0 comments on commit 97963c0

Please sign in to comment.