More webapp changes+fixes
This commit is contained in:
+27
@@ -133,6 +133,33 @@
|
||||
<span nz-icon nzType="close"></span>
|
||||
</button>
|
||||
} @else {
|
||||
<!-- Own subscriptions: can activate/deactivate -->
|
||||
@if (isOwnSubscription(sub)) {
|
||||
@if (sub.active) {
|
||||
<button
|
||||
nz-button
|
||||
nzSize="small"
|
||||
nz-tooltip
|
||||
nzTooltipTitle="Deactivate"
|
||||
nz-popconfirm
|
||||
nzPopconfirmTitle="Deactivate this subscription?"
|
||||
(nzOnConfirm)="deactivateSubscription(sub)"
|
||||
>
|
||||
<span nz-icon nzType="pause-circle"></span>
|
||||
</button>
|
||||
} @else {
|
||||
<button
|
||||
nz-button
|
||||
nzSize="small"
|
||||
nzType="primary"
|
||||
nz-tooltip
|
||||
nzTooltipTitle="Activate"
|
||||
(click)="activateSubscription(sub)"
|
||||
>
|
||||
<span nz-icon nzType="play-circle"></span>
|
||||
</button>
|
||||
}
|
||||
}
|
||||
<!-- Confirmed or outgoing: can revoke -->
|
||||
<button
|
||||
nz-button
|
||||
|
||||
Reference in New Issue
Block a user