From 888973612713ae89fcde204cd0ac1c3cfbeee871 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Aug 2016 18:59:17 +0200 Subject: Client: add ID, score and created date to the friends list --- client/src/app/admin/friends/friend-list/friend-list.component.html | 6 ++++++ client/src/app/admin/friends/shared/friend.model.ts | 3 +++ 2 files changed, 9 insertions(+) diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.html b/client/src/app/admin/friends/friend-list/friend-list.component.html index 1f3789265..7f1709d94 100644 --- a/client/src/app/admin/friends/friend-list/friend-list.component.html +++ b/client/src/app/admin/friends/friend-list/friend-list.component.html @@ -3,13 +3,19 @@ + + + + + +
ID UrlScoreCreated Date
{{ friend.id }} {{ friend.url }}{{ friend.score }}{{ friend.createdDate }}
diff --git a/client/src/app/admin/friends/shared/friend.model.ts b/client/src/app/admin/friends/shared/friend.model.ts index 847eb9c9c..7cb28f440 100644 --- a/client/src/app/admin/friends/shared/friend.model.ts +++ b/client/src/app/admin/friends/shared/friend.model.ts @@ -1,3 +1,6 @@ export interface Friend { + id: string; url: string; + score: number; + createdDate: Date; } -- cgit v1.2.3