mirror of https://github.com/Ombi-app/Ombi
parent
9438bbf81d
commit
a991b2fff2
@ -1,8 +1,11 @@
|
|||||||
<mat-nav-list>
|
<mat-nav-list>
|
||||||
<a (click)="delete()" mat-list-item>
|
<a (click)="delete()" mat-list-item>
|
||||||
<span mat-line>Delete Request</span>
|
<span mat-line>{{'Requests.RequestPanel.Delete' | translate}}</span>
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="data.canApprove" (click)="approve()" mat-list-item>
|
<a *ngIf="data.canApprove" (click)="approve()" mat-list-item>
|
||||||
<span mat-line>Approve Request</span>
|
<span mat-line>{{'Requests.RequestPanel.Approve' | translate}}</span>
|
||||||
|
</a>
|
||||||
|
<a *ngIf="data.type !== RequestType.tvShow" (click)="changeAvailability()" mat-list-item>
|
||||||
|
<span mat-line>{{'Requests.RequestPanel.ChangeAvailability' | translate}}</span>
|
||||||
</a>
|
</a>
|
||||||
</mat-nav-list>
|
</mat-nav-list>
|
@ -1,4 +1,5 @@
|
|||||||
export enum UpdateType {
|
export enum UpdateType {
|
||||||
Delete,
|
Delete,
|
||||||
Approve
|
Approve,
|
||||||
|
Availability
|
||||||
}
|
}
|
Loading…
Reference in new issue