mirror of https://github.com/Ombi-app/Ombi
parent
9438bbf81d
commit
a991b2fff2
@ -1,8 +1,11 @@
|
||||
<mat-nav-list>
|
||||
<a (click)="delete()" mat-list-item>
|
||||
<span mat-line>Delete Request</span>
|
||||
<span mat-line>{{'Requests.RequestPanel.Delete' | translate}}</span>
|
||||
</a>
|
||||
<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>
|
||||
</mat-nav-list>
|
@ -1,4 +1,5 @@
|
||||
export enum UpdateType {
|
||||
Delete,
|
||||
Approve
|
||||
Delete,
|
||||
Approve,
|
||||
Availability
|
||||
}
|
Loading…
Reference in new issue