From: Chocobozzz Date: Fri, 26 Aug 2016 16:59:17 +0000 (+0200) Subject: Client: add ID, score and created date to the friends list X-Git-Tag: v0.0.1-alpha~750 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=888973612713ae89fcde204cd0ac1c3cfbeee871;p=oweals%2Fpeertube.git Client: add ID, score and created date to the friends list --- 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; }