|
|
@ -3,7 +3,7 @@
|
|
|
|
<div id="result{{result.id}}" *ngIf="fullyLoaded" class="ombi-card dark-card c" [style.display]="hide ? 'none' : 'block'">
|
|
|
|
<div id="result{{result.id}}" *ngIf="fullyLoaded" class="ombi-card dark-card c" [style.display]="hide ? 'none' : 'block'">
|
|
|
|
<div class="card-top-info">
|
|
|
|
<div class="card-top-info">
|
|
|
|
<div class="top-left" id="type{{result.id}}">
|
|
|
|
<div class="top-left" id="type{{result.id}}">
|
|
|
|
{{RequestType[result.type] | humanize}}
|
|
|
|
{{ 'Common.' + RequestType[result.type] | translate }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="{{getStatusClass()}} top-right" id="status{{result.id}}">
|
|
|
|
<div class="{{getStatusClass()}} top-right" id="status{{result.id}}">
|
|
|
|
<span class="indicator"></span><span class="indicator-text" id="availabilityStatus{{result.id}}">{{getAvailbilityStatus()}}</span>
|
|
|
|
<span class="indicator"></span><span class="indicator-text" id="availabilityStatus{{result.id}}">{{getAvailbilityStatus()}}</span>
|
|
|
@ -21,9 +21,10 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row button-request-container" *ngIf="!result.available && !result.approved && !result.requested">
|
|
|
|
<div class="row button-request-container" *ngIf="!result.available && !result.approved && !result.requested">
|
|
|
|
<div class="button-request poster-overlay">
|
|
|
|
<div class="button-request poster-overlay">
|
|
|
|
<button id="requestButton{{result.id}}{{result.type}}{{discoverType}}" mat-raised-button class="btn-green full-width poster-request-btn" (click)="request($event)">
|
|
|
|
<button id="requestButton{{result.id}}{{result.type}}{{discoverType}}" mat-raised-button class="btn-ombi full-width poster-request-btn" (click)="request($event)">
|
|
|
|
<i *ngIf="!loading" class="fa-lg fas fa-cloud-download-alt"></i>
|
|
|
|
<i *ngIf="!loading" class="fa-lg fas fa-cloud-download-alt"></i>
|
|
|
|
<i *ngIf="loading" class="fas fa-spinner fa-pulse fa-2x fa-fw" aria-hidden="true"></i>
|
|
|
|
<i *ngIf="loading" class="fas fa-spinner fa-pulse fa-2x fa-fw" aria-hidden="true"></i>
|
|
|
|
|
|
|
|
{{'Common.Request' | translate }}
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|