]>
Commit | Line | Data |
---|---|---|
dfe3ec6b C |
1 | <h3>Friends list</h3> |
2 | ||
e2f555ca C |
3 | <table class="table table-hover"> |
4 | <thead> | |
5 | <tr> | |
21496304 | 6 | <th class="table-column-id">ID</th> |
e2f555ca | 7 | <th>Url</th> |
88897361 C |
8 | <th>Score</th> |
9 | <th>Created Date</th> | |
e2f555ca C |
10 | </tr> |
11 | </thead> | |
12 | ||
13 | <tbody> | |
14 | <tr *ngFor="let friend of friends"> | |
88897361 | 15 | <td>{{ friend.id }}</td> |
e2f555ca | 16 | <td>{{ friend.url }}</td> |
88897361 | 17 | <td>{{ friend.score }}</td> |
ec1b7d97 | 18 | <td>{{ friend.createdDate | date: 'medium' }}</td> |
e2f555ca C |
19 | </tr> |
20 | </tbody> | |
21 | </table> | |
22 | ||
dc009132 | 23 | <a *ngIf="friends && friends.length !== 0" class="add-user btn btn-danger pull-left" (click)="quitFriends()"> |
e2f555ca C |
24 | Quit friends |
25 | </a> | |
26 | ||
6be62247 | 27 | <a *ngIf="friends?.length === 0" class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']"> |
e2f555ca C |
28 | Make friends |
29 | </a> |