TSK-534 Rename lookup configuration property
This commit is contained in:
parent
5b926153a7
commit
d6942737bf
|
@ -5,7 +5,7 @@ datasource.url=jdbc:h2:mem:taskana;IGNORECASE=TRUE;LOCK_MODE=0;INIT=CREATE SCHEM
|
|||
datasource.driverClassName=org.h2.Driver
|
||||
datasource.username=sa
|
||||
datasource.password=sa
|
||||
devMode=false
|
||||
devMode=true
|
||||
####### control LDAP usage
|
||||
taskana.ldap.useLdap=false
|
||||
####### properties to connect to LDAP
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
"EN": {
|
||||
"workbaskets": {
|
||||
"information": {
|
||||
"lookupField": {
|
||||
"visible": false
|
||||
"owner": {
|
||||
"lookupField": true
|
||||
},
|
||||
"custom1": {
|
||||
"field": "Customized field 1 title",
|
||||
|
@ -15,8 +15,8 @@
|
|||
}
|
||||
},
|
||||
"access-items": {
|
||||
"lookupField": {
|
||||
"visible": true
|
||||
"accessId": {
|
||||
"lookupField": true
|
||||
},
|
||||
"custom3": {
|
||||
"field": "",
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
|
||||
</button>
|
||||
</td>
|
||||
<td *ngIf="lookupField.visible else accessIdInput" class="input-group text-align text-width taskana-type-ahead" [ngClass]="{
|
||||
<td *ngIf="accessIdField.lookupField else accessIdInput" class="input-group text-align text-width taskana-type-ahead" [ngClass]="{
|
||||
'has-warning': (accessItemsClone[index].accessId !== accessItem.accessId),
|
||||
'has-error': !accessItem.accessId } ">
|
||||
<taskana-type-ahead required #accessItemName="ngModel" [(ngModel)]="accessItem.accessId" name="accessItem.accessId-{{index}}"
|
||||
|
|
|
@ -34,7 +34,7 @@ export class AccessItemsComponent implements OnChanges, OnDestroy {
|
|||
active: string;
|
||||
badgeMessage = '';
|
||||
|
||||
lookupField = this.customFieldService.getCustomField('Owner', 'workbaskets.access-items.lookupField');
|
||||
accessIdField = this.customFieldService.getCustomField('Owner', 'workbaskets.access-items.accessId');
|
||||
custom1Field = this.customFieldService.getCustomField('Custom 1', 'workbaskets.access-items.custom1');
|
||||
custom2Field = this.customFieldService.getCustomField('Custom 2', 'workbaskets.access-items.custom2');
|
||||
custom3Field = this.customFieldService.getCustomField('Custom 3', 'workbaskets.access-items.custom3');
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
</div>
|
||||
<div class="form-group required">
|
||||
<label for="wb-owner" class="control-label">Owner</label>
|
||||
<taskana-type-ahead *ngIf="lookupField.visible else ownerInput" required #owner="ngModel" name="owner" [(ngModel)]="workbasket.owner"
|
||||
<taskana-type-ahead *ngIf="ownerField.lookupField else ownerInput" required #owner="ngModel" name="owner" [(ngModel)]="workbasket.owner"
|
||||
placeHolderMessage="Owner is required"></taskana-type-ahead>
|
||||
<ng-template #ownerInput>
|
||||
<input type="text" required #owner="ngModel" class="form-control" id="wb-owner" placeholder="Owner" [(ngModel)]="workbasket.owner"
|
||||
|
|
|
@ -37,7 +37,7 @@ export class WorkbasketInformationComponent implements OnInit, OnChanges, OnDest
|
|||
requestInProgress = false;
|
||||
badgeMessage = '';
|
||||
|
||||
lookupField = this.customFieldsService.getCustomField('Owner', 'workbaskets.information.lookupField');
|
||||
ownerField = this.customFieldsService.getCustomField('Owner', 'workbaskets.information.owner');
|
||||
custom1Field = this.customFieldsService.getCustomField('Custom 1', 'workbaskets.information.custom1');
|
||||
custom2Field = this.customFieldsService.getCustomField('Custom 2', 'workbaskets.information.custom2');
|
||||
custom3Field = this.customFieldsService.getCustomField('Custom 3', 'workbaskets.information.custom3');
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<div>{{dataSource.selected?.name}}</div>
|
||||
</div>
|
||||
<div [ngClass]="{'hidden': dataSource.selected && !typing}">
|
||||
<span class="field-label-wrapper">
|
||||
<span class="field-label-wrapper">
|
||||
<label>
|
||||
{{dataSource.selected?.name}}
|
||||
</label>
|
||||
|
|
|
@ -11,6 +11,11 @@ $grey: #ddd;
|
|||
border-bottom: 1px solid $grey;
|
||||
margin-top:6px;
|
||||
}
|
||||
> div{
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.input-text {
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
"EN": {
|
||||
"workbaskets": {
|
||||
"information": {
|
||||
"lookupField": {
|
||||
"visible": true
|
||||
"owner": {
|
||||
"lookupField": true
|
||||
},
|
||||
"custom1": {
|
||||
"field": "Customized field 1 title",
|
||||
|
@ -15,8 +15,8 @@
|
|||
}
|
||||
},
|
||||
"access-items": {
|
||||
"lookupField": {
|
||||
"visible": false
|
||||
"accessId": {
|
||||
"lookupField": true
|
||||
},
|
||||
"custom3": {
|
||||
"field": "",
|
||||
|
|
Loading…
Reference in New Issue