mirror of https://github.com/Chocobozzz/PeerTube
Client: add ID, score and created date to the friends list
parent
535724234a
commit
8889736127
|
@ -3,13 +3,19 @@
|
||||||
<table class="table table-hover">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>ID</th>
|
||||||
<th>Url</th>
|
<th>Url</th>
|
||||||
|
<th>Score</th>
|
||||||
|
<th>Created Date</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr *ngFor="let friend of friends">
|
<tr *ngFor="let friend of friends">
|
||||||
|
<td>{{ friend.id }}</td>
|
||||||
<td>{{ friend.url }}</td>
|
<td>{{ friend.url }}</td>
|
||||||
|
<td>{{ friend.score }}</td>
|
||||||
|
<td>{{ friend.createdDate }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
export interface Friend {
|
export interface Friend {
|
||||||
|
id: string;
|
||||||
url: string;
|
url: string;
|
||||||
|
score: number;
|
||||||
|
createdDate: Date;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue