Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
portal-apps-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
portal-apps-manage
Commits
19610b18
Commit
19610b18
authored
Aug 18, 2025
by
Mon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
เพิ่มคำเเปลภาษา เปลี่ยนตำเเหน่งการเเสดงของช่องกรอกข้อมูล
parent
a43ce34c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
18 deletions
+20
-18
article-manage.component.html
...pp/DPU/myjob/article-manage/article-manage.component.html
+16
-16
en.json
src/assets/i18n/en.json
+2
-1
th.json
src/assets/i18n/th.json
+2
-1
No files found.
src/app/DPU/myjob/article-manage/article-manage.component.html
View file @
19610b18
...
...
@@ -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 }}:
...
...
src/assets/i18n/en.json
View file @
19610b18
...
...
@@ -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"
}
src/assets/i18n/th.json
View file @
19610b18
...
...
@@ -122,6 +122,7 @@
"Last Updated Date"
:
"วันที่เเก้ไขล่าสุด"
,
"Management"
:
"การจัดการ"
,
"Excerpt"
:
"บทความเเบบย่อ"
,
"Article Contents"
:
"เนื้อหาบทความ"
"Article Contents"
:
"เนื้อหาบทความ"
,
"Publication End Date"
:
"วันที่สิ้นสุดการเผยเเพร่"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment