- 초대/초대 취소 팝업 알림 문구 수정: 메시지 발송 내용 추가
- 알림 수신 동의서 미운영 시 체크박스 빈값 처리 로직 추가
This commit is contained in:
@@ -500,7 +500,9 @@ const customPopups = {
|
|||||||
// 확인 버튼 이벤트 (기존 이벤트 제거 후 재등록)
|
// 확인 버튼 이벤트 (기존 이벤트 제거 후 재등록)
|
||||||
$('#userInvitePopupConfirmButton').off('click').on('click', function () {
|
$('#userInvitePopupConfirmButton').off('click').on('click', function () {
|
||||||
const mobile = $('#userInviteMobileInput').val().trim();
|
const mobile = $('#userInviteMobileInput').val().trim();
|
||||||
const notifyConsent = $('#userInviteNotifyConsent').is(':checked');
|
// 알림 수신 동의서를 운영하지 않으면 체크박스 자체가 없다. 이때는 동의 절차만 생략되고 메시지는 발송한다.
|
||||||
|
const $inviteConsent = $('#userInviteNotifyConsent');
|
||||||
|
const notifyConsent = $inviteConsent.length === 0 || $inviteConsent.is(':checked');
|
||||||
|
|
||||||
// 휴대폰 번호 유효성 검사
|
// 휴대폰 번호 유효성 검사
|
||||||
if (!mobile) {
|
if (!mobile) {
|
||||||
@@ -628,7 +630,9 @@ const customPopups = {
|
|||||||
|
|
||||||
// 확인 버튼 이벤트 (기존 이벤트 제거 후 재등록)
|
// 확인 버튼 이벤트 (기존 이벤트 제거 후 재등록)
|
||||||
$('#cancelInvitationPopupConfirmButton').off('click').on('click', function () {
|
$('#cancelInvitationPopupConfirmButton').off('click').on('click', function () {
|
||||||
const notifyConsent = $('#cancelInvitationNotifyConsent').is(':checked');
|
// 알림 수신 동의서를 운영하지 않으면 체크박스 자체가 없다. 이때는 동의 절차만 생략되고 메시지는 발송한다.
|
||||||
|
const $cancelConsent = $('#cancelInvitationNotifyConsent');
|
||||||
|
const notifyConsent = $cancelConsent.length === 0 || $cancelConsent.is(':checked');
|
||||||
if (typeof onConfirm === 'function') {
|
if (typeof onConfirm === 'function') {
|
||||||
onConfirm(notifyConsent);
|
onConfirm(notifyConsent);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,11 +38,10 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 알림 수신 동의서를 사용하지 않거나 약관 페이지에 배치하지 않은 경우 : 안내 문구만 노출 -->
|
<!-- 알림 수신 동의서를 사용하지 않거나 약관 페이지에 배치하지 않은 경우 : 동의 절차 없이 발송, 안내 문구만 노출 -->
|
||||||
<div class="pop_consent_group" style="margin-top: 16px;" th:unless="${notificationConsentAvailable}">
|
<div class="pop_consent_group" style="margin-top: 16px;" th:unless="${notificationConsentAvailable}">
|
||||||
<p style="margin: 0; font-size: 13px; color: #475569; line-height: 1.5;">
|
<p style="margin: 0; font-size: 13px; color: #475569; line-height: 1.5;">
|
||||||
현재 알림 수신 동의서를 운영하지 않아 수신자에게 초대 취소 알림 메시지가 발송되지 않습니다.
|
초대 취소 사실이 수신자에게 알림 메시지로 발송됩니다.
|
||||||
초대 취소는 정상적으로 진행됩니다.
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -48,11 +48,10 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 알림 수신 동의서를 사용하지 않거나 약관 페이지에 배치하지 않은 경우 : 안내 문구만 노출 -->
|
<!-- 알림 수신 동의서를 사용하지 않거나 약관 페이지에 배치하지 않은 경우 : 동의 절차 없이 발송, 안내 문구만 노출 -->
|
||||||
<div class="pop_consent_group" style="margin-top: 16px;" th:unless="${notificationConsentAvailable}">
|
<div class="pop_consent_group" style="margin-top: 16px;" th:unless="${notificationConsentAvailable}">
|
||||||
<p style="margin: 0; font-size: 13px; color: #475569; line-height: 1.5;">
|
<p style="margin: 0; font-size: 13px; color: #475569; line-height: 1.5;">
|
||||||
현재 알림 수신 동의서를 운영하지 않아 수신자에게 초대 메시지가 발송되지 않습니다.
|
입력한 휴대폰 번호로 초대 메시지가 발송됩니다.
|
||||||
초대는 정상적으로 진행되며, 초대받은 개발자에게 직접 안내해 주세요.
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user