7095. 안전관리계속교육(16시간)강의 수강 시 시험응시 문구 수정

This commit is contained in:
iyak 2025-07-17 07:28:51 +00:00
parent cdc983a37a
commit b052aac45b
2 changed files with 18 additions and 9 deletions

View File

@ -43,7 +43,7 @@
<table>
<tbody>
@foreach (var d in Model.Datas.Where(w => w.dtype > -1))
{
{
<tr>
<th>
@*
@ -60,11 +60,17 @@
<b>@(d.dtype == 0 ? "진행평가" : d.dtype == 1 ? "최종평가" : d.dtype == 2 ? "과제" : d.dtype == 3 ? "토론" : "")</b><span> @d.strval</span>
</h5>
@{
string trainingDateText = d.intval6 != 16 ? string.Format("/ 집체교육 참석일 ({0}) 전 까지", d.time.ToShortDateString()) : "";
}
@if (d.dtype == 1)
{ // 최종평가
if (d.intval6 == 16 || (d.time2 < Convert.ToDateTime("2024-08-19")))
{
<p>참여조건 : 진도율 @(d.intval2)% 이상 / 집체교육 참석일 (@d.time.ToShortDateString()) 전 까지</p>
<p>참여조건 : 진도율 @(d.intval2)% 이상 @trainingDateText</p>
}
else
{
@ -73,7 +79,7 @@
}
else if (d.dtype > 1)
{ // 기타
<p>참여조건 : 진도율 @(d.intval2)% 이상 / 집체교육 참석일 (@d.time.ToShortDateString()) 전 까지</p>
<p>참여조건 : 진도율 @(d.intval2)% 이상 @trainingDateText</p>
}
</th>

View File

@ -2,26 +2,28 @@
@{
}
<h3 class="lctTitle3">과제 안내</h3>
<h3 class="lctTitle3">과제 작성방법 안내</h3>
<dl class="teskCont">
<dt>과제내용</dt>
@*<dt>과제내용</dt>*@
<dd>
<table class="evaDetail">
<tbody>
<tr>
@*<tr>
<th>과제제목</th>
<td>@Model.LectSD.sdname</td>
</tr>
<tr>
<th>제출시간</th>
<td>수강 종료일 (@Model.LectSD.edate.Value.ToString("yyyy-MM-dd")) 이내</td>
</tr>
</tr>*@
<tr>
<td colspan="2">
@Html.Raw((Model.LectSD.sddesc ?? "").Replace(System.Environment.NewLine, "<br/>"))
</td>
</tr>
@if (Model.LectSD.sdfgno != null && Model.FileList.Where(w => w.fgno == Model.LectSD.sdfgno).Count() > 0)
{
<tr>
@ -33,9 +35,10 @@
</td>
</tr>
}
</tbody>
</table>
</dd>
</dl>
<form id="sform" method="post" enctype="multipart/form-data">