From 888973612713ae89fcde204cd0ac1c3cfbeee871 Mon Sep 17 00:00:00 2001
From: Chocobozzz <florian.bigard@gmail.com>
Date: Fri, 26 Aug 2016 18:59:17 +0200
Subject: [PATCH] Client: add ID, score and created date to the friends list

---
 .../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 @@
 <table class="table table-hover">
   <thead>
     <tr>
+      <th>ID</th>
       <th>Url</th>
+      <th>Score</th>
+      <th>Created Date</th>
     </tr>
   </thead>
 
   <tbody>
     <tr *ngFor="let friend of friends">
+      <td>{{ friend.id }}</td>
       <td>{{ friend.url }}</td>
+      <td>{{ friend.score }}</td>
+      <td>{{ friend.createdDate }}</td>
     </tr>
   </tbody>
 </table>
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;
 }