Commit 19610b18 by Mon

เพิ่มคำเเปลภาษา เปลี่ยนตำเเหน่งการเเสดงของช่องกรอกข้อมูล

parent a43ce34c
......@@ -254,6 +254,21 @@
{{'Please fill in information' | translate}}
</div>
</div>
<div class="xl:col-span-6 col-span-12">
<label for="status" class="mt-4 font-bold font-14 text-primary">
{{ 'Status' | translate }}
</label>
<ng-select id="status" name="status" [(ngModel)]="selectModel.publish" [items]="statusOptions"
bindValue="value" bindLabel="label" placeholder="Status">
<ng-option value="1">{{ 'เผยแพร่' | translate }}</ng-option>
<ng-option value="0">{{ 'ไม่เผยแพร่' | translate }}</ng-option>
</ng-select>
<div class="text-danger" *ngIf="selectModel.publish === null || selectModel.publish === undefined">
{{ 'Please fill in information' | translate }}
</div>
</div>
<!-- <div class="xl:col-span-6 col-span-12">
<label for="lastModifiedDate" class="mt-4 font-bold font-14 text-primary">{{'วันที่เเก้ไขล่าสุด' |
translate}}</label>
......@@ -273,7 +288,7 @@
</div>
<div class="xl:col-span-6 col-span-12">
<label for="endDate" class="mt-4 font-bold font-14 text-primary">{{'End Date' |
<label for="endDate" class="mt-4 font-bold font-14 text-primary">{{'Publication End Date' |
translate}}</label>
<input type="datetime-local" class="form-control" id="endDate" placeholder=""
[(ngModel)]="selectModel.endDate" [min]="selectModel.createdDate" max="9999-12-31T23:59">
......@@ -282,21 +297,6 @@
</div>
</div>
<div class="xl:col-span-6 col-span-12">
<label for="status" class="mt-4 font-bold font-14 text-primary">
{{ 'Status' | translate }}
</label>
<ng-select id="status" name="status" [(ngModel)]="selectModel.publish" [items]="statusOptions"
bindValue="value" bindLabel="label" placeholder="Status">
<ng-option value="1">{{ 'เผยแพร่' | translate }}</ng-option>
<ng-option value="0">{{ 'ไม่เผยแพร่' | translate }}</ng-option>
</ng-select>
<div class="text-danger" *ngIf="selectModel.publish === null || selectModel.publish === undefined">
{{ 'Please fill in information' | translate }}
</div>
</div>
<div class="xl:col-span-12 col-span-12">
<label class="mt-4 font-bold font-14 text-primary" for="Detail_content">{{ "Article Title" | translate }}:
......
......@@ -122,5 +122,6 @@
"Last Updated Date":"Last Updated Date",
"Management":"Management",
"Excerpt":"Excerpt",
"Article Contents":"Article Contents"
"Article Contents":"Article Contents",
"Publication End Date":"Publication End Date"
}
......@@ -122,6 +122,7 @@
"Last Updated Date":"วันที่เเก้ไขล่าสุด",
"Management":"การจัดการ",
"Excerpt":"บทความเเบบย่อ",
"Article Contents":"เนื้อหาบทความ"
"Article Contents":"เนื้อหาบทความ",
"Publication End Date":"วันที่สิ้นสุดการเผยเเพร่"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment