aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-23 14:43:20 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-23 14:43:20 +0200
commit6be622478a36a20ec36605c772b20009d9d270ac (patch)
treed31f9cb8192706bdb8df122fb734d7f5797e8ca4 /client/src/app
parent0f6da32b148c0f4146b2ae9ad1add9a9f00cc339 (diff)
downloadPeerTube-6be622478a36a20ec36605c772b20009d9d270ac.tar.gz
PeerTube-6be622478a36a20ec36605c772b20009d9d270ac.tar.zst
PeerTube-6be622478a36a20ec36605c772b20009d9d270ac.zip
Client: display make/quit friends according to the situation
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/admin/friends/friend-list/friend-list.component.html4
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>