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
af1e056c
Commit
af1e056c
authored
May 09, 2023
by
Hayato Kamimura
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【規約同意】名称修正
parent
34b214d4
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
27 deletions
+30
-27
abweb/common/json/lang/lang-en.json
+3
-2
abweb/common/json/lang/lang-ja.json
+3
-2
abweb/common/json/lang/lang-ko.json
+3
-2
abweb/html/agreementToTerms.html
+4
-4
abweb/js/agreementToTerms/agreementToTerms.js
+17
-17
No files found.
abweb/common/json/lang/lang-en.json
View file @
af1e056c
...
...
@@ -130,7 +130,7 @@
"sitePolicy"
:
"Site Policy"
,
"agreementToTermsTitle"
:
"Terms of Service"
,
"
TermAgree
"
:
"Agree"
,
"
TermDisagree
"
:
"Disagree"
,
"
agreeTerm
"
:
"Agree"
,
"
disagreeTerm
"
:
"Disagree"
,
"msgDisagreeTerm"
:
"Log out and then go to the login screen. Are you okay?"
}
\ No newline at end of file
abweb/common/json/lang/lang-ja.json
View file @
af1e056c
...
...
@@ -128,7 +128,7 @@
"sitePolicy"
:
"サイトポリシー"
,
"agreementToTermsTitle"
:
"利用規約"
,
"
TermAgree
"
:
"同意する"
,
"
TermDisagree
"
:
"同意しない"
,
"
agreeTerm
"
:
"同意する"
,
"
disagreeTerm
"
:
"同意しない"
,
"msgDisagreeTerm"
:
"ログアウトされ、ログイン画面に遷移します。よろしいでしょうか?"
}
\ No newline at end of file
abweb/common/json/lang/lang-ko.json
View file @
af1e056c
...
...
@@ -127,7 +127,7 @@
"sitePolicy"
:
"사이트 정책"
,
"agreementToTermsTitle"
:
"이용규약"
,
"
TermAgree
"
:
"동의"
,
"
TermDisagree
"
:
"동의 안함"
,
"
agreeTerm
"
:
"동의"
,
"
disagreeTerm
"
:
"동의 안함"
,
"msgDisagreeTerm"
:
"로그 아웃되어 로그인 화면으로 이동합니다. 실행 하시겠습니까?"
}
\ No newline at end of file
abweb/html/agreementToTerms.html
View file @
af1e056c
...
...
@@ -37,7 +37,7 @@
<script
type=
"text/javascript"
>
$
(
document
).
ready
(
function
(){
agreementToTerms
.
init
a
greement
();
agreementToTerms
.
init
A
greement
();
})
</script>
</head>
...
...
@@ -46,14 +46,14 @@
<div
id=
"loader"
></div>
<div
class=
"tos-wrapper"
>
<div
class=
"title"
>
<h2
id=
"
t
ermsTitle"
>
利用規約
</h2>
<h2
id=
"
agreementToT
ermsTitle"
>
利用規約
</h2>
<p
class=
"tos-version"
id=
"termsVersion"
></p>
</div>
<div
class=
"tos-text"
>
<p
id=
"
agreement
"
></p>
<p
id=
"
terms
"
></p>
</div>
<div
class=
"btn-wrapper"
>
<button
class=
"btn btn-agree"
id=
"agreeTerm"
onclick=
"agreementToTerms.
sendAgreeTerms
()"
>
同意する
</a>
<button
class=
"btn btn-agree"
id=
"agreeTerm"
onclick=
"agreementToTerms.
agreeTerm
()"
>
同意する
</a>
<button
class=
"btn btn-disagree"
id=
"disagreeTerm"
onclick=
"agreementToTerms.disagreeTerm()"
>
同意しない
</a>
</div>
...
...
abweb/js/agreementToTerms/agreementToTerms.js
View file @
af1e056c
...
...
@@ -2,21 +2,21 @@
var
agreementToTerms
=
{};
//言語、規約情報読み込み
agreementToTerms
.
init
a
greement
=
function
(){
var
data
=
agreementToTerms
.
require
Terms
();
$
(
"#
t
ermsTitle"
).
text
(
I18N
.
i18nText
(
"agreementToTermsTitle"
));
$
(
"#agreeTerm"
).
text
(
I18N
.
i18nText
(
"
TermAgree
"
));
$
(
"#disagreeTerm"
).
text
(
I18N
.
i18nText
(
"
TermDisagree
"
));
agreementToTerms
.
init
A
greement
=
function
(){
var
data
=
agreementToTerms
.
get
Terms
();
$
(
"#
agreementToT
ermsTitle"
).
text
(
I18N
.
i18nText
(
"agreementToTermsTitle"
));
$
(
"#agreeTerm"
).
text
(
I18N
.
i18nText
(
"
agreeTerm
"
));
$
(
"#disagreeTerm"
).
text
(
I18N
.
i18nText
(
"
disagreeTerm
"
));
$
(
"#termsVersion"
).
text
(
data
.
termsVersion
);
$
(
"#
agreement"
).
text
(
data
.
agreement
);
}
$
(
"#
terms"
).
text
(
data
.
terms
);
}
;
//遷移先の決定
agreementToTerms
.
destinationHtml
=
function
(){
var
data
=
agreementToTerms
.
require
Terms
();
var
data
=
agreementToTerms
.
get
Terms
();
if
(
data
.
httpStatus
==
CONSTANT
.
HTTP_STATUS
.
OK
){
//公開中バージョンに未同意の場合
if
(
data
.
termsVersion
||
data
.
agreement
){
if
(
data
.
termsVersion
||
data
.
terms
){
//利用規約画面に遷移
COMMON
.
avwScreenMove
(
"agreementToTerms.html"
);
}
else
{
...
...
@@ -28,16 +28,16 @@ agreementToTerms.destinationHtml = function(){
COMMON
.
closeLoading
();
COMMON
.
showAlert
(
'errorOccurred'
);
}
}
}
;
//利用規約情報の取得
agreementToTerms
.
require
Terms
=
function
(){
agreementToTerms
.
get
Terms
=
function
(){
var
apiData
=
{};
var
params
=
{
sid
:
COMMON
.
getSid
(),
};
const
url
=
COMMON
.
format
(
ClientData
.
conf_apiUrl
(),
ClientData
.
userInfo_accountPath
())
+
"/
require
Terms/"
;
const
url
=
COMMON
.
format
(
ClientData
.
conf_apiUrl
(),
ClientData
.
userInfo_accountPath
())
+
"/
get
Terms/"
;
COMMON
.
cmsAjax
(
url
,
params
,
...
...
@@ -57,8 +57,8 @@ agreementToTerms.requireTerms = function(){
};
//利用規約情報同意の送信
agreementToTerms
.
sendAgreeTerms
=
function
(){
var
apiData
=
agreementToTerms
.
require
Terms
();
agreementToTerms
.
agreeTerm
=
function
(){
var
apiData
=
agreementToTerms
.
get
Terms
();
params
=
{
sid
:
COMMON
.
getSid
(),
termsVersion
:
apiData
.
termsVersion
,
...
...
@@ -80,7 +80,7 @@ agreementToTerms.sendAgreeTerms = function(){
}
}
)
}
}
;
//利用規約に同意しない
agreementToTerms
.
disagreeTerm
=
function
(){
...
...
@@ -88,4 +88,4 @@ agreementToTerms.disagreeTerm = function(){
//ログアウトし、ログイン画面に遷移する
HEADER
.
processLogout
();
}
}
\ No newline at end of file
};
\ No newline at end of file
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