Skip to content

Commit

Permalink
Merge branch 'test' into 'master'
Browse files Browse the repository at this point in the history
Release 1.2.1

See merge request nk/periodik!9
  • Loading branch information
Kretiss committed Oct 24, 2022
2 parents 4e4d718 + 189a625 commit 6819ce7
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,26 +53,26 @@ <h1 mat-dialog-title>
<div fxLayout="row" fxLayoutGap="16px">
<mat-form-field fxFlex="33.3333%">
<mat-label>{{ 'desc.select_state' | translate }}</mat-label>
<mat-select [id]="'stav'" [name]="'stav'" [(ngModel)]="exemplar.stav" multiple>
<mat-select [id]="'stav'" [name]="'stav'" [(ngModel)]="exemplar.stav" multiple [disabled]=!state.logged>
<mat-option *ngFor="let stav of state.stavy" [value]="stav">
{{ 'record.StavIssue.' + stav | translate }}
</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field fxFlex="33.3333%">
<input matInput [placeholder]="'record.state_com' | translate" [id]="'stav_popis'" [name]="'stav_popis'" [(ngModel)]="exemplar.stav_popis" type="text">
<input matInput [placeholder]="'record.state_com' | translate" [id]="'stav_popis'" [name]="'stav_popis'" [(ngModel)]="exemplar.stav_popis" type="text" [disabled]=!state.logged>
</mat-form-field>
<mat-form-field fxFlex="33.3333%">
<input matInput [placeholder]="'record.signatura' | translate" id="signatura" name="signatura" [(ngModel)]="exemplar.signatura" type="text" autocomplete="on">
<input matInput [placeholder]="'record.signatura' | translate" id="signatura" name="signatura" [(ngModel)]="exemplar.signatura" type="text" autocomplete="on" [disabled]=!state.logged>
</mat-form-field>
</div>

<div fxLayout="row" fxLayoutGap="16px">
<mat-form-field fxFlex="50%">
<input matInput [placeholder]="'record.oznaceni' | translate" [id]="'oznaceni'" [name]="'oznaceni'" [(ngModel)]="exemplar.oznaceni" type="text" #box (keyup)="filterOznaceni(box.value)">
<input matInput [placeholder]="'record.oznaceni' | translate" [id]="'oznaceni'" [name]="'oznaceni'" [(ngModel)]="exemplar.oznaceni" type="text" #box (keyup)="filterOznaceni(box.value)" [disabled]=!state.logged>
</mat-form-field>
<mat-form-field fxFlex="50%">
<input matInput [placeholder]="'record.popis_oznaceni_vydani' | translate" [id]="'popis_oznaceni_vydani'" [name]="'popis_oznaceni_vydani'" [(ngModel)]="exemplar.popis_oznaceni_vydani" type="text">
<input matInput [placeholder]="'record.popis_oznaceni_vydani' | translate" [id]="'popis_oznaceni_vydani'" [name]="'popis_oznaceni_vydani'" [(ngModel)]="exemplar.popis_oznaceni_vydani" type="text" [disabled]=!state.logged>
</mat-form-field>
</div>

Expand Down Expand Up @@ -104,6 +104,6 @@ <h1 mat-dialog-title>

</div>
<div mat-dialog-actions>
<button mat-button (click)="ok()">OK</button>
<button mat-button (click)="ok()" [disabled]=!state.logged>OK</button>
<button mat-button (click)="cancel()">{{ 'button.cancel' | translate }}</button>
</div>

0 comments on commit 6819ce7

Please sign in to comment.