ActivityPub-federated video streaming platform using P2P directly in your web browser
Client: display created user date
Chocobozzzb539c9b34c24
diff --git a/client/src/app/admin/users/user-list/user-list.component.html b/client/src/app/admin/users/user-list/user-list.component.htmlindex 2ef9ea0e0a..328b1be77d 100644--- a/client/src/app/admin/users/user-list/user-list.component.html+++ b/client/src/app/admin/users/user-list/user-list.component.html@@ -5,6 +5,7 @@<tr><th class="table-column-id">ID</th><th>Username</th>+ <th>Created Date</th><th class="text-right">Remove</th></tr></thead>@@ -13,6 +14,7 @@<tr *ngFor="let user of users"><td>{{ user.id }}</td><td>{{ user.username }}</td>+ <td>{{ user.createdDate | date: 'medium' }}</td><td class="text-right"><span class="glyphicon glyphicon-remove" *ngIf="!user.isAdmin()" (click)="removeUser(user)"></span></td>diff --git a/client/src/app/shared/users/user.model.ts b/client/src/app/shared/users/user.model.tsindex 0f34d4480f..b775cb8e7b 100644--- a/client/src/app/shared/users/user.model.ts+++ b/client/src/app/shared/users/user.model.ts@@ -2,11 +2,13 @@ export class User {id: string;username: string;role: string;+ createdDate: Date;- constructor(hash: { id: string, username: string, role: string }) {+ constructor(hash: { id: string, username: string, role: string, createdDate: Date }) {this.id = hash.id;this.username = hash.username;this.role = hash.role;+ this.createdDate = hash.createdDate;}isAdmin() {