#115/#116/#117 [intUI/textareas] Remark in Membership/Asset/Share

This commit is contained in:
Michael Hoennig 2019-05-03 00:32:58 +02:00
parent da60a3020f
commit 5f536ad043
6 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@
</dd> </dd>
<dt><span jhiTranslate="hsadminNgApp.asset.remark">Remark</span></dt> <dt><span jhiTranslate="hsadminNgApp.asset.remark">Remark</span></dt>
<dd> <dd>
<span>{{asset.remark}}</span> <span [innerHTML]="asset.remark | linebreaks"></span>
</dd> </dd>
<dt><span jhiTranslate="hsadminNgApp.asset.membership">Membership</span></dt> <dt><span jhiTranslate="hsadminNgApp.asset.membership">Membership</span></dt>
<dd> <dd>

View File

@ -75,8 +75,8 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="form-control-label" jhiTranslate="hsadminNgApp.asset.remark" for="field_remark">Remark</label> <label class="form-control-label" jhiTranslate="hsadminNgApp.asset.remark" for="field_remark">Remark</label>
<input type="text" class="form-control" name="remark" id="field_remark" <textarea class="form-control" name="remark" id="field_remark" rows="3"
[(ngModel)]="asset.remark" maxlength="160"/> [(ngModel)]="asset.remark" maxlength="160"></textarea>
<div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)"> <div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)">
<small class="form-text text-danger" <small class="form-text text-danger"
[hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }"> [hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }">

View File

@ -23,7 +23,7 @@
</dd> </dd>
<dt><span jhiTranslate="hsadminNgApp.membership.remark">Remark</span></dt> <dt><span jhiTranslate="hsadminNgApp.membership.remark">Remark</span></dt>
<dd> <dd>
<span>{{membership.remark}}</span> <span [innerHTML]="membership.remark | linebreaks"></span>
</dd> </dd>
<dt><span jhiTranslate="hsadminNgApp.membership.customer">Customer</span></dt> <dt><span jhiTranslate="hsadminNgApp.membership.customer">Customer</span></dt>
<dd> <dd>

View File

@ -63,8 +63,8 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="form-control-label" jhiTranslate="hsadminNgApp.membership.remark" for="field_remark">Remark</label> <label class="form-control-label" jhiTranslate="hsadminNgApp.membership.remark" for="field_remark">Remark</label>
<input type="text" class="form-control" name="remark" id="field_remark" <textarea class="form-control" name="remark" id="field_remark" rows="3"
[(ngModel)]="membership.remark" maxlength="160"/> [(ngModel)]="membership.remark" maxlength="160"></textarea>
<div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)"> <div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)">
<small class="form-text text-danger" <small class="form-text text-danger"
[hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }"> [hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }">

View File

@ -23,7 +23,7 @@
</dd> </dd>
<dt><span jhiTranslate="hsadminNgApp.share.remark">Remark</span></dt> <dt><span jhiTranslate="hsadminNgApp.share.remark">Remark</span></dt>
<dd> <dd>
<span>{{share.remark}}</span> <span [innerHTML]="share.remark | linebreaks"></span>
</dd> </dd>
<dt><span jhiTranslate="hsadminNgApp.share.membership">Membership</span></dt> <dt><span jhiTranslate="hsadminNgApp.share.membership">Membership</span></dt>
<dd> <dd>

View File

@ -71,8 +71,8 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="form-control-label" jhiTranslate="hsadminNgApp.share.remark" for="field_remark">Remark</label> <label class="form-control-label" jhiTranslate="hsadminNgApp.share.remark" for="field_remark">Remark</label>
<input type="text" class="form-control" name="remark" id="field_remark" <textarea class="form-control" name="remark" id="field_remark" rows="3"
[(ngModel)]="share.remark" maxlength="160"/> [(ngModel)]="share.remark" maxlength="160"></textarea>
<div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)"> <div [hidden]="!(editForm.controls.remark?.dirty && editForm.controls.remark?.invalid)">
<small class="form-text text-danger" <small class="form-text text-danger"
[hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }"> [hidden]="!editForm.controls.remark?.errors?.maxlength" jhiTranslate="entity.validation.maxlength" [translateValues]="{ max: 160 }">