diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-08-23 14:43:20 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-08-23 14:43:20 +0200 |
commit | 6be622478a36a20ec36605c772b20009d9d270ac (patch) | |
tree | d31f9cb8192706bdb8df122fb734d7f5797e8ca4 /client | |
parent | 0f6da32b148c0f4146b2ae9ad1add9a9f00cc339 (diff) | |
download | PeerTube-6be622478a36a20ec36605c772b20009d9d270ac.tar.gz PeerTube-6be622478a36a20ec36605c772b20009d9d270ac.tar.zst PeerTube-6be622478a36a20ec36605c772b20009d9d270ac.zip |
Client: display make/quit friends according to the situation
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/admin/friends/friend-list/friend-list.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 4be3d364f..1f3789265 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 | |||
@@ -14,10 +14,10 @@ | |||
14 | </tbody> | 14 | </tbody> |
15 | </table> | 15 | </table> |
16 | 16 | ||
17 | <a class="add-user btn btn-danger pull-left" (click)="quitFriends()"> | 17 | <a *ngIf="friends?.length !== 0" class="add-user btn btn-danger pull-left" (click)="quitFriends()"> |
18 | Quit friends | 18 | Quit friends |
19 | </a> | 19 | </a> |
20 | 20 | ||
21 | <a class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']"> | 21 | <a *ngIf="friends?.length === 0" class="add-user btn btn-success pull-right" [routerLink]="['/admin/friends/add']"> |
22 | Make friends | 22 | Make friends |
23 | </a> | 23 | </a> |