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
8f132c6a
Commit
8f132c6a
authored
Nov 16, 2022
by
Takumi Imai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/1.0_check_web_dev_son' into 'feature/1.0_check_web_dev'
feature/1.0_check_web_dev_son See merge request
!63
parents
5bb2fb31
ff88fcce
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
10 deletions
+22
-10
abweb/common/js/common.js
+2
-2
abweb/common/json/lang/lang-en.json
+3
-1
abweb/common/json/lang/lang-ja.json
+7
-5
abweb/common/json/lang/lang-ko.json
+3
-1
abweb/js/pushMessageList/pushMessageList.js
+7
-1
No files found.
abweb/common/js/common.js
View file @
8f132c6a
...
@@ -118,8 +118,8 @@ COMMON.showConfirm = function (messageCode, confirmCallback, options = {}) {
...
@@ -118,8 +118,8 @@ COMMON.showConfirm = function (messageCode, confirmCallback, options = {}) {
*/
*/
COMMON
.
showAlert
=
function
(
messageCode
,
options
=
{})
{
COMMON
.
showAlert
=
function
(
messageCode
,
options
=
{})
{
const
defaultParams
=
{
const
defaultParams
=
{
titleCode
:
'
confirmation
'
,
titleCode
:
'
error
'
,
confirmNoCode
:
'c
onfirmNo
'
confirmNoCode
:
'c
lose
'
}
}
const
params
=
Object
.
assign
(
options
,
defaultParams
);
const
params
=
Object
.
assign
(
options
,
defaultParams
);
let
message
=
''
;
let
message
=
''
;
...
...
abweb/common/json/lang/lang-en.json
View file @
8f132c6a
...
@@ -118,5 +118,6 @@
...
@@ -118,5 +118,6 @@
"periodicInspectionPeriod"
:
"Periodic Inspection Period"
,
"periodicInspectionPeriod"
:
"Periodic Inspection Period"
,
"msgSendPushMessageSuccess"
:
"we sent a push message"
,
"msgSendPushMessageSuccess"
:
"we sent a push message"
,
"error"
:
"Error"
,
"error"
:
"Error"
,
"msgSendPushMessageConfirm"
:
"Do you want to send message?"
"msgSendPushMessageConfirm"
:
"Do you want to send message?"
,
"close"
:
"Close"
}
}
\ No newline at end of file
abweb/common/json/lang/lang-ja.json
View file @
8f132c6a
...
@@ -87,10 +87,10 @@
...
@@ -87,10 +87,10 @@
"txtMessageContent"
:
"メッセージ"
,
"txtMessageContent"
:
"メッセージ"
,
"buttonTemplateSelection"
:
"テンプレート選択"
,
"buttonTemplateSelection"
:
"テンプレート選択"
,
"buttonSend"
:
"送信"
,
"buttonSend"
:
"送信"
,
"msgContentRequired"
:
"
Content is required
"
,
"msgContentRequired"
:
"
メッセージを入力してください。
"
,
"msgContentInvalidLength"
:
"
The content length exceeds the maximum of {0} characters
"
,
"msgContentInvalidLength"
:
"
メッセージの長さが最大文字数({0})を超えています。
"
,
"msgOperationRequired"
:
"
Operation is required
"
,
"msgOperationRequired"
:
"
作業を選択してください。
"
,
"msgSendTypeRequired"
:
"
Send type is required
"
,
"msgSendTypeRequired"
:
"
送信先を選択してください。
"
,
"operationSelection"
:
"作業選択"
,
"operationSelection"
:
"作業選択"
,
"selection"
:
"選択"
,
"selection"
:
"選択"
,
"templateSelection"
:
"テンプレート選択"
,
"templateSelection"
:
"テンプレート選択"
,
...
@@ -116,5 +116,6 @@
...
@@ -116,5 +116,6 @@
"periodicInspectionPeriod"
:
"定期点検期間"
,
"periodicInspectionPeriod"
:
"定期点検期間"
,
"msgSendPushMessageSuccess"
:
"プッシュメッセージ送信しました。"
,
"msgSendPushMessageSuccess"
:
"プッシュメッセージ送信しました。"
,
"error"
:
"エラー"
,
"error"
:
"エラー"
,
"msgSendPushMessageConfirm"
:
"Do you want to send message?"
"msgSendPushMessageConfirm"
:
"プッシュメッセージを送信しますか?"
,
"close"
:
"閉じる"
}
}
\ No newline at end of file
abweb/common/json/lang/lang-ko.json
View file @
8f132c6a
...
@@ -115,5 +115,6 @@
...
@@ -115,5 +115,6 @@
"periodicInspectionPeriod"
:
"정기점검기간"
,
"periodicInspectionPeriod"
:
"정기점검기간"
,
"msgSendPushMessageSuccess"
:
"푸시메시지를 보냈습니다."
,
"msgSendPushMessageSuccess"
:
"푸시메시지를 보냈습니다."
,
"error"
:
"에러"
,
"error"
:
"에러"
,
"msgSendPushMessageConfirm"
:
"Do you want to send message?"
"msgSendPushMessageConfirm"
:
"Do you want to send message?"
,
"close"
:
"Close"
}
}
\ No newline at end of file
abweb/js/pushMessageList/pushMessageList.js
View file @
8f132c6a
...
@@ -18,7 +18,7 @@ PushMessageList.init = function () {
...
@@ -18,7 +18,7 @@ PushMessageList.init = function () {
href
:
'dashboard.html'
,
href
:
'dashboard.html'
,
},
},
{
{
titleLang
:
'
messageListTitle
'
,
titleLang
:
'
pushMessageList
'
,
},
},
];
];
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
'pushMessageList'
,
navs
,
null
);
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
'pushMessageList'
,
navs
,
null
);
...
@@ -71,6 +71,12 @@ PushMessageList.generateMessageListHtml = function (messageList) {
...
@@ -71,6 +71,12 @@ PushMessageList.generateMessageListHtml = function (messageList) {
$
(
'#messageList .not-found'
).
removeClass
(
'd-none'
);
$
(
'#messageList .not-found'
).
removeClass
(
'd-none'
);
return
;
return
;
}
}
//sort message list by send date
messageList
.
sort
(
function
(
a
,
b
)
{
if
(
a
.
pushSendDate
>
b
.
pushSendDate
)
return
-
1
;
if
(
a
.
pushSendDate
<
b
.
pushSendDate
)
return
1
;
return
0
;
});
$
(
'#messageList .not-found'
).
addClass
(
'd-none'
);
$
(
'#messageList .not-found'
).
addClass
(
'd-none'
);
for
(
var
i
=
0
;
i
<
messageList
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
messageList
.
length
;
i
++
)
{
let
message
=
messageList
[
i
];
let
message
=
messageList
[
i
];
...
...
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