]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+admin/friends/friend-list/friend-list.component.html
Client: replace simple tables by ng2 smart table component
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / friends / friend-list / friend-list.component.html
1 <h3>Friends list</h3>
2
3 <ng2-smart-table [settings]="tableSettings" [source]="friendsSource"></ng2-smart-table>
4
5 <a *ngIf="hasFriends()" class="add-user btn btn-danger pull-left" (click)="quitFriends()">
6 Quit friends
7 </a>
8
9 <a *ngIf="!hasFriends()" class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']">
10 Make friends
11 </a>