Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
bb12f258
Commit
bb12f258
authored
Oct 27, 2022
by
NGUYEN HOANG SON
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implement message detail lang, data
parent
f4f4ccb9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
32 deletions
+43
-32
abvw/common/json/lang/lang-en.json
+7
-2
abvw/common/json/lang/lang-ja.json
+7
-1
abvw/common/json/lang/lang-ko.json
+7
-1
abvw/html/push-message-detail.html
+10
-10
abvw/js/pushMessageDetail/push-message-detail.js
+12
-18
No files found.
abvw/common/json/lang/lang-en.json
View file @
bb12f258
...
...
@@ -54,6 +54,10 @@
"chatTitle"
:
"Chat"
,
"makeDashboardAsHome"
:
"Make dashboard your home screen"
,
"btnKeep"
:
"Keep"
,
"messageListEmpty"
:
"No Messages"
"messageListEmpty"
:
"No Messages"
,
"messageDetail"
:
"Message Details"
,
"operationName"
:
"Operation Name"
,
"sendDate"
:
"Send Date"
,
"sender"
:
"Sender"
,
"content"
:
"Content"
}
\ No newline at end of file
abvw/common/json/lang/lang-ja.json
View file @
bb12f258
...
...
@@ -54,5 +54,10 @@
"chatTitle"
:
"チャット"
,
"makeDashboardAsHome"
:
"ダッシュボードをホーム画面にする"
,
"btnKeep"
:
"保存"
,
"messageListEmpty"
:
"メッセージがありません。"
"messageListEmpty"
:
"メッセージがありません。"
,
"messageDetail"
:
"メッセージ詳細"
,
"operationName"
:
"作業名"
,
"sendDate"
:
"送信日時"
,
"sender"
:
"送信者"
,
"content"
:
"内容"
}
\ No newline at end of file
abvw/common/json/lang/lang-ko.json
View file @
bb12f258
...
...
@@ -54,5 +54,10 @@
"chatTitle"
:
"Chat"
,
"makeDashboardAsHome"
:
"Make dashboard your home screen"
,
"btnKeep"
:
"Keep"
,
"messageListEmpty"
:
"No Messages"
"messageListEmpty"
:
"No Messages"
,
"messageDetail"
:
"Message Details"
,
"operationName"
:
"Operation Name"
,
"sendDate"
:
"Send Date"
,
"sender"
:
"Sender"
,
"content"
:
"Content"
}
\ No newline at end of file
abvw/html/push-message-detail.html
View file @
bb12f258
...
...
@@ -41,12 +41,12 @@
<ol
class=
"breadcrumb px-0 mb-0"
>
<li
class=
"breadcrumb-item"
><a
href=
"dashboard.html"
class=
"text-decoration-none text-underline lang"
lang=
"dashboard"
></a></li>
<li
class=
"breadcrumb-item"
><a
href=
"message-list.html"
class=
"text-decoration-none text-underline lang"
lang=
"messageListTitle"
></a></li>
<li
class=
"breadcrumb-item active
"
aria-current=
"page"
><span>
メッセージ詳細
</span></li>
<li
class=
"breadcrumb-item active
lang"
lang=
"messageDetail"
aria-current=
"page"
><span>
</span></li>
</ol>
</nav>
<!-- title -->
<h1
class=
"fs-14 font-weight-bold pt-sm-4 pt-2 pb-3 mb-0
"
>
メッセージ詳細
</h1>
<h1
class=
"fs-14 font-weight-bold pt-sm-4 pt-2 pb-3 mb-0
lang"
lang=
"messageDetail"
>
</h1>
<!-- message detail -->
<div
class=
"row"
>
...
...
@@ -58,20 +58,20 @@
</colgroup>
<tbody>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary
"
>
作業名
</th>
<td
class=
"p-2"
>
絞り検索
</td>
<th
class=
"fs-9 p-2 text-secondary
lang"
lang=
"operationName"
>
</th>
<td
class=
"p-2"
id=
"operationName"
>
</td>
</tr>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary
"
>
送信日時
</th>
<td
class=
"p-2"
>
2022/07/06 14:14
</td>
<th
class=
"fs-9 p-2 text-secondary
lang"
lang=
"sendDate"
>
</th>
<td
class=
"p-2"
id=
"sendDate"
>
</td>
</tr>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary
"
>
送信者
</th>
<td
class=
"p-2"
>
agentec
</td>
<th
class=
"fs-9 p-2 text-secondary
lang"
lang=
"sender"
>
</th>
<td
class=
"p-2"
id=
"sender"
>
</td>
</tr>
<tr
class=
"border-bottom"
>
<th
class=
"fs-9 p-2 text-secondary
"
>
内容
</th>
<td
class=
"p-2"
>
内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。内容が入ります。
</td>
<th
class=
"fs-9 p-2 text-secondary
lang"
lang=
"content"
>
</th>
<td
class=
"p-2"
id=
"content"
>
</td>
</tr>
</tbody>
</table>
...
...
abvw/js/pushMessageDetail/push-message-detail.js
View file @
bb12f258
...
...
@@ -2,23 +2,22 @@ var PushMessageDetail = {};
PushMessageDetail
.
baseApiUrl
=
CONSTANT
.
URL
.
CMS
.
BASE
+
ClientData
.
userInfo_accountPath
()
+
CONSTANT
.
URL
.
CMS
.
API
.
BASE
+
'pushMessageDetail/'
;
// msgMap.messageDetailTopTitle = {ja:"プッシュメッセージ詳細", ko:"푸시 메시지 상세", en:"Push message details"};
// msgMap.messageDetailHeaderTitle = {ja:"メッセージ詳細", ko:"메시지 상세", en:"Message Details"};
// msgMap.messageDetailContentTitle = {ja:"件名", ko:"내용", en:"Content"};
// msgMap.messageDetailSendDateTitle = {ja:"日時", ko:"일시", en:"Send Date"};
// msgMap.messageDetailWorkingNameTitle = {ja:"作業名", ko:"작업명", en:"Operation Name"};
// msgMap.messageDetailSenderTitle = {ja:"送信者", ko:"송신자", en:"Sender"};
PushMessageDetail
.
dummyMessageDetailJson
=
{
pushMessage
:
"内容が入ります。内容が入ります。内容が入ります。内容が入ります。"
,
pushSendDate
:
"2022/07/06 14:14"
,
operationName
:
"絞り検索"
,
pushSendLoginId
:
"agentec"
}
PushMessageDetail
.
init
=
function
()
{
$
(
"#includedHeader"
).
load
(
"../common/header.html"
,
function
()
{
I18N
.
initi18n
();
});
var
urlParam
=
CHK
.
getUrlParameter
();
let
urlParam
=
COMMON
.
getUrlParameter
();
if
(
typeof
urlParam
!==
'object'
||
typeof
urlParam
.
pushMessageId
===
'undefined'
)
{
return
;
}
let
messageId
=
urlParam
.
pushMessageId
;
PushMessageDetail
.
getMessageDetail
(
messageId
,
function
(
message
)
{
PushMessageDetail
.
getMessageDetail
(
urlParam
.
pushMessageId
,
function
(
message
)
{
PushMessageDetail
.
showMessage
(
message
);
});
}
...
...
@@ -42,13 +41,8 @@ PushMessageDetail.getMessageDetail = function(pushMessageId, callback) {
}
PushMessageDetail
.
showMessage
=
function
(
message
)
{
$
(
'#messageDetail #message'
).
text
(
message
.
pushMessage
);
var
mDate
=
message
.
pushSendDate
;
if
(
CHK
.
isAndroid
)
{
mDate
=
CHK
.
getFormatDate
(
new
Date
(
message
.
pushSendDate
));
}
$
(
'#messageDetail #sendDate'
).
text
(
mDate
);
$
(
'#messageDetail #operationName'
).
text
(
message
.
operationName
);
$
(
'#messageDetail #sender'
).
text
(
message
.
pushSendLoginId
);
$
(
'#content'
).
text
(
message
.
pushMessage
);
$
(
'#sendDate'
).
text
(
message
.
pushSendDate
);
$
(
'#operationName'
).
text
(
message
.
operationName
);
$
(
'#sender'
).
text
(
message
.
pushSendLoginId
);
}
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