LP1904036 ng lint --fix
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / staff / circ / patron / barcodes.component.html
1 <eg-string #successMsg text="Successfully Added Group" i18n-text></eg-string>
2 <eg-string #errorMsg text="Failed To Add Group" i18n-text></eg-string>
3
4 <ng-template #dialogContent>
5   <div class="modal-header bg-info">
6     <h4 class="modal-title" i18n>Patron Barcodes</h4>
7     <button type="button" class="close"
8       i18n-aria-label aria-label="Close" (click)="close()">
9       <span aria-hidden="true">&times;</span>
10     </button>
11   </div>
12   <div class="modal-body">
13     <div class="row">
14       <div class="col-lg-4 font-weight-bold" i18n>Barcode</div>
15       <div class="col-lg-4 font-weight-bold" i18n>Active</div>
16       <div class="col-lg-4 font-weight-bold" i18n>Primary</div>
17     </div>
18     <div class="row mt-2 pt-2" *ngFor="let card of patron.cards()">
19       <div class="col-lg-4" i18n>
20         {{card.barcode()}}
21       </div>
22       <div class="col-lg-4" i18n>
23         <input type="checkbox" [disabled]="!myPerms.UPDATE_PATRON_ACTIVE_CARD"
24           (ngModelChange)="activeChange(card, $event)"
25           class="form-check-input ml-0" [ngModel]="card.active() === 't'">
26       </div>
27       <div class="col-lg-4" i18n>
28         <input type="radio" name="primary-card" [value]="card.id()"
29           [disabled]="!myPerms.UPDATE_PATRON_PRIMARY_CARD"
30           class="form-check-input ml-0" [(ngModel)]="primaryCard">
31       </div>
32     </div>
33   </div>
34   <div class="modal-footer">
35     <button type="button" class="btn btn-success"
36       (click)="applyChanges()" i18n>Apply Changes</button>
37     <button type="button" class="btn btn-warning"
38       (click)="close()" i18n>Cancel</button>
39   </div>
40 </ng-template>