Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #229. Added Missing Label in Attach host and other style issues. #230

Merged
merged 1 commit into from
Dec 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/business/block/create-host/create-host.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>{{i18n.keyID['sds_create_host']}}</h1>
</div>
<hr />
</div>
<form [formGroup]="createHostform" [grid]="{label: 'ui-g-2', content:'ui-g-20'}" (ngSubmit)="onSubmit()" [errorMessage]="errorMessage">
<form [formGroup]="createHostform" [grid]="{label: 'ui-g-3', content:'ui-g-20'}" (ngSubmit)="onSubmit()" [errorMessage]="errorMessage">

<form-item [required]="true" label="{{label.name}}">
<input formControlName="hostName" type="text" size="30" pInputText [maxlength]="30" [minlength]="2">
Expand All @@ -27,7 +27,7 @@ <h1>{{i18n.keyID['sds_create_host']}}</h1>
<p-dropdown [options]="accessModeOptions" formControlName="accessMode" placeholder="Please choose"></p-dropdown>
</form-item>
<form-item [required]="true" label="{{label.availabilityZones}}">
<p-multiSelect [options]="availabilityZonesOptions" formControlName="availabilityZones" defaultLabel="Please choose multiple"></p-multiSelect>
<p-multiSelect [options]="availabilityZonesOptions" formControlName="availabilityZones" defaultLabel="You can choose multiple"></p-multiSelect>
</form-item>
<form-item [required]="true" label="{{label.initiators}}">
<a class="add-initiator" (click)="addNext()"><i class="fa fa-plus-circle" ></i></a>
Expand Down
1 change: 1 addition & 0 deletions src/app/i18n/en/keyID.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"sds_fileShare_export": "Export Location",
"sds_fileShare_update": "Updated At",
"sds_ippattern": "IP address must be (1~255). (0~255). (0~255). (0~255)/(1-32)",
"sds_block_host_title":"Host",
"sds_block_attach_mode" : "Attach Mode",
"sds_Hosts_title": "Hosts",
"sds_Host_detail": "Host details",
Expand Down
3 changes: 2 additions & 1 deletion src/app/i18n/zh/keyID.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@
"sds_lifeCycle_disable": "Disable the lifecycle rule",
"sds_fileShare_export": "Export Location",
"sds_fileShare_update": "Updated At",
"sds_ippattern": "IP address must be (1~255). (0~255). (0~255). (0~255)/(1-32)"
"sds_ippattern": "IP address must be (1~255). (0~255). (0~255). (0~255)/(1-32)",
"sds_block_host_title":"Host",
"sds_block_attach_mode" : "Attach Mode",
"sds_Hosts_title": "Hosts",
"sds_Host_detail": "Host details",
Expand Down