<label i18n>Optional Session Name:</label>
</div>
<div class="col-lg-3">
- <input [(ngModel)]="sessionName" class="form-control" type="text"/>
+ <input [(ngModel)]="sessionName" class="form-control" type="text"
+ i18n-placeholder placeholder="Session Name..."/>
</div>
<div class="col-lg-3">
<label i18n>Remove MARC Field Groups</label>
</div>
<div class="col-lg-3" *ngIf="bibTrashGroups.length == 0">
- <span i18n class="font-italic">No Removal Groups Configured</span>
+ <span i18n class="font-italic">No Groups Configured</span>
</div>
<div class="col-lg-3" *ngIf="bibTrashGroups.length">
<select multiple [(ngModel)]="selectedTrashGroups"
Queue {{tracker.queue().name()}}
</a>
</span>
- <span class="pl-2" *ngIf="tracker.action_type() == 'enqueue'" i18n>Enqueuing...</span>
- <span class="pl-2" *ngIf="tracker.action_type() == 'import'" i18n>Importing...</span>
+ <span class="pl-2" *ngIf="tracker.action_type() == 'enqueue'" i18n>Enqueuing... </span>
+ <span class="pl-2" *ngIf="tracker.action_type() == 'import'" i18n>Importing... </span>
<span *ngIf="tracker.state() == 'active'" i18n>Active</span>
<span *ngIf="tracker.state() == 'complete'" i18n>Complete</span>
<span *ngIf="tracker.state() == 'error'" i18n>Error</span>
pollTrackers() {
// Report on recent trackers for this workstation and for the
- // logged in user. Always show active trackers.
+ // logged in user. Always show active trackers regardless
+ // of sinceDate.
const query: any = {
'-and': [
{
for (let idx = 0; idx < this.trackers.length; idx++) {
const trkr = this.trackers[idx];
if (trkr.id() === sameSes.id()) {
+ console.debug(
+ `removing tracker ${trkr.id()} from the list`);
this.trackers.splice(idx, 1);
break;
}
}
}
+ console.debug(`adding tracker ${tracker.id()} to list`);
+
this.trackers.unshift(tracker);
this.fleshTrackerQueue(tracker);
}