From 595bdfba6027fa7fd0b0de73fe6c9b0a2105b7a2 Mon Sep 17 00:00:00 2001 From: jity7777 Date: Wed, 19 Oct 2022 00:58:20 +0000 Subject: [PATCH] =?UTF-8?q?<=EB=8B=A8=EC=88=9C=EC=9E=91=EC=97=85>=201.=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=BD=94=EB=93=9C=EC=9A=A9?= =?UTF-8?q?=EC=B6=94=EA=B0=80=EB=A1=9C=20=EC=9B=90=EB=B3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FO/Views/CRoom/Estimation.cshtml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/FO/Views/CRoom/Estimation.cshtml b/FO/Views/CRoom/Estimation.cshtml index 4164a67..d443252 100644 --- a/FO/Views/CRoom/Estimation.cshtml +++ b/FO/Views/CRoom/Estimation.cshtml @@ -3,9 +3,9 @@ } @*@if (Model.tabidx == 0 || Model.tabidx == 3) @@ -15,23 +15,15 @@
- -@{ - var k = Model.Datas.First(); - k.intval5 = 30; -} @foreach (var d in Model.Datas.Where(w=>w.dtype > -1)) { - d.intval = 30; - + } @if (Model.Datas.Where(w => w.dtype > -1).Count() < 1)
@(d.dtype == 0 ? "진행평가":d.dtype==1?"최종평가":d.dtype == 2?"과제":d.dtype==3?"토론":"") @d.strval

참여조건 : 진도율 @(d.intval2)% 이상 / 수강 종료일 (@d.time.ToShortDateString()) 이내

- =d.intval2?"02":"01")">@(d.intval4 == 1 ? "[평가완료]" : d.intval3 == 1 ? "[참여완료]" : d.intval3 == 0 && d.intval >=d.intval2 ? "[참여가능]" : "[참여불가]") [@d.intval , @d.intval2] - =d.intval2?"02":"01")">@(d.intval4 == 1 ? "[평가완료]" : d.intval3 == 1 ? "[참여완료]" : d.intval3 == 0 && d.intval >=d.intval2 ? "[참여가능]" : "[참여불가]")