aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/admin/friends/friend-list/friend-list.component.html6
-rw-r--r--client/src/app/admin/friends/shared/friend.model.ts3
2 files changed, 9 insertions, 0 deletions
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 @@
3<table class="table table-hover"> 3<table class="table table-hover">
4 <thead> 4 <thead>
5 <tr> 5 <tr>
6 <th>ID</th>
6 <th>Url</th> 7 <th>Url</th>
8 <th>Score</th>
9 <th>Created Date</th>
7 </tr> 10 </tr>
8 </thead> 11 </thead>
9 12
10 <tbody> 13 <tbody>
11 <tr *ngFor="let friend of friends"> 14 <tr *ngFor="let friend of friends">
15 <td>{{ friend.id }}</td>
12 <td>{{ friend.url }}</td> 16 <td>{{ friend.url }}</td>
17 <td>{{ friend.score }}</td>
18 <td>{{ friend.createdDate }}</td>
13 </tr> 19 </tr>
14 </tbody> 20 </tbody>
15</table> 21</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 @@
1export interface Friend { 1export interface Friend {
2 id: string;
2 url: string; 3 url: string;
4 score: number;
5 createdDate: Date;
3} 6}