6728. 알림창 문구 수정

This commit is contained in:
iyak 2025-04-03 06:20:56 +00:00
parent 46fd22fb87
commit f9e0f5dcdc
4 changed files with 10 additions and 31 deletions

View File

@ -755,6 +755,7 @@
<Content Include="Views\Account\CertOk3MOBI2.cshtml" />
<Content Include="Views\Course\SmartSearchResult.cshtml" />
<Content Include="Views\Course\info.cshtml" />
<Content Include="Views\Home\Index_20250403백업_추후에배포.cshtml" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Base\Base.csproj">

View File

@ -7,7 +7,7 @@
@RenderSection("styles", required: false)
@Html.Partial("./Partial/JS")
@RenderSection("scriptsHeader", required: false)
<script type="text/javascript" src="/js/mypage.js?ver=22122701"></script>
<script type="text/javascript" src="/js/mypage.js?ver=250403"></script>
</head>
<body id="mainbody">
@{

View File

@ -7,7 +7,7 @@
@RenderSection("styles", required: false)
@Html.Partial("./Partial/JS")
@RenderSection("scriptsHeader", required: false)
<script type="text/javascript" src="/js/mypage.js?ver=22120201"></script>
<script type="text/javascript" src="/js/mypage.js?ver=250403"></script>
</head>
<body id="mainbody">
@{

View File

@ -65,29 +65,14 @@ $(document).ready(function () {
if (complete != undefined && complete == 0 && cshape==2)
{
/*
msg("해당 과정은 <span style='color:red;'>미 수료 상태 입니다.</span></br>" +
"교육일정변경 메뉴에서 <span style='color:red;'>교육일정을 변경 해주세요.</span></br></br>" +
"※ 미 수료 상태로 교육시작일 이후 <span style='color:red;'>1년 경과 시 교육이 취소되어 일정변경이 불가합니다.</span></br>" +
"※ 확인 클릭 시 교육일정변경 메뉴로 이동합니다.", null, null, null, "location.href='" + '/My/LectureOn' + "'"
);
*/
$("#bglayer, #layermessage").show();
/*let msg = '<div> <span style="color:red;"> .</span><br> <span style=""> .</span><br><br>'
msg += '<span style="color:red;">단, 수료처리일이 지나지 않은 분들은 잠시 기다려주시기 바랍니다.</span><br>'
msg += '수료처리일 : 교육종료일 다음날 오후 3시 이후 (평일기준)<br><br>※ 미 수료 상태로 교육시작일 이후 <span style="color:red;">1년 경과 시 교육이 취소되어 일정변경이 불가합니다.</span>'
msg += '<br>※ 확인 클릭 시 교육일정변경 메뉴로 이동합니다.</div>'
msg += '<div><a href="#" class="mainokbutton" onclick="javascript:hidelayermsg();" style="display: inline-block;margin: 20px 5px 0 5px;">취소</a>'
msg += '<a href="#" class="mainokbutton" onclick="javascript:location.href=\'/My/LectureOn\';" style="display: inline-block;margin: 20px 5px 0 5px;">확인</a></div>'*/
let msg = '<div><span style="font-size:25px">해당 과정은 <span style="color:red;">교육종료일</span>이 지난 과정입니다.</span><br><br><br>'
msg += '- 수료조건을 만족한 경우 : 수료처리 중이므로 잠시 기다려 주시기 바랍니다.<br>'
msg += '※ <span style="color:red;">매주 월요일 마다</span> 수료처리가 진행됩니다. (평일기준)<br><br>'
msg += '- 수료조건을 만족하지 않은 경우 : 교육일정변경 메뉴에서 <span style="color:red;">일정변경 후 </span> 수강해 주세요.<br><br>'
msg += '※ 미 수료 상태로 교육시작일 이후 <span style="color:red;">1년 경과 시 교육이 취소되어 일정변경이 불가합니다.</span><br><br>'
msg += '<a href="#" class="mainokbutton" onclick="javascript:hidelayermsg();" style="display: inline-block;margin: 20px 5px 0 5px;">확인</a></div>'
//msg += '<a href="' + href + '" class="mainokbutton" style="display: inline-block;margin: 20px 5px 0 5px;">확인</a></div>'
$("#layermessage").html(msg)
return false;
@ -95,15 +80,16 @@ $(document).ready(function () {
if (href != undefined && href != null && href.toLowerCase().indexOf("croom/index?croomlectno=") != -1) {
if (cshape != undefined && cshape == 1) {
msg("해당 과정은 <span style='color: red;'>교육장에 직접 오셔서 수강</span>하는 과정 입니다.</br>" +
"교육기간을 확인하시고 시작일에 해당 교육장으로 입교 부탁 드립니다.");
/*location.href = '/My/LectureOn';*/
msg("해당 과정은 <span style='color: red;'>교육장에 직접 오셔서 수강</span>하는 과정 입니다.<br/>" +
"교육기간을 확인하시고 해당 날짜에 교육장으로 입교 부탁드립니다.<br/>" +
"※ 교육시간 : 09 :00 ~ 17 :00");
return false;
}
else if (cshape != undefined && cshape == 2) {
$("#layermessage").html('<div></div><a href="#" class="mainokbutton" onclick="javascript:hidelayermsg();">확인</a>')
// msg("강의장으로 입장합니다.", null, null, null, "location.href='" + href + "'");
let tempmsg = '<div style="font-weight: bold; font-size: 14pt; line-height: 30px;">';
tempmsg += '시청하실 강의 영상은 저작권의 보호를 받는 저작물이므로<br>';
@ -122,12 +108,4 @@ $(document).ready(function () {
return true;
});
//$(".gocroom").on("click", function () {
// var href = $(this).data("href") || this.href;
// if (href != undefined && href != null && href.toLowerCase().indexOf("croom/index?croomlectno=") != -1) {
// msg("강의장으로 입장합니다.", null, null, null, "location.href='" + href + "'");
// return false;
// }
// return true;
//});
});