]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+admin/friends/friend-list/friend-list.component.html
7b9fff3047cc8a4a85057c974f7fa9462d7c7e8f
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / friends / friend-list / friend-list.component.html
1 <div class="row">
2 <div class="content-padding">
3 <h3>Friends list</h3>
4
5 <ng2-smart-table [settings]="tableSettings" [source]="friendsSource" (delete)="removeFriend($event)"></ng2-smart-table>
6
7 <a *ngIf="hasFriends()" class="btn btn-danger pull-left" (click)="quitFriends()">
8 Quit friends
9 </a>
10
11 <a *ngIf="!hasFriends()" class="btn btn-success pull-right" [routerLink]="['/admin/friends/add']">
12 Make friends
13 </a>
14 </div>
15 </div>