This commit is contained in:
hyunho 2020-12-28 06:31:36 +00:00
parent ccdf344ba4
commit f4f420457b
1 changed files with 21 additions and 19 deletions

View File

@ -163,6 +163,7 @@
<th>@(Model.viewidxname)명</th> <th>@(Model.viewidxname)명</th>
@Html.Raw(Model.viewidx == 1 ? "<th>복제</th>" : "") @Html.Raw(Model.viewidx == 1 ? "<th>복제</th>" : "")
@Html.Raw(Model.viewidx == 1 ? "<th>강좌추가</th>" : "") @Html.Raw(Model.viewidx == 1 ? "<th>강좌추가</th>" : "")
@Html.Raw(Model.viewidx == 0 ? "<th>제한인원</th>" : "")
@Html.Raw(Model.viewidx == 0 ? "<th>신청인원</th>" : "") @Html.Raw(Model.viewidx == 0 ? "<th>신청인원</th>" : "")
@Html.Raw(Model.viewidx == 0 ? "<th>복제</th>" : "") @Html.Raw(Model.viewidx == 0 ? "<th>복제</th>" : "")
</tr> </tr>
@ -185,6 +186,7 @@
<td>@item.cgname</td> <td>@item.cgname</td>
<td>@item.cshapename</td> <td>@item.cshapename</td>
<td class="link cname"><a href="#" onclick="reg(@item.cmno)">@item.cname (@item.classno)</a></td> <td class="link cname"><a href="#" onclick="reg(@item.cmno)">@item.cname (@item.classno)</a></td>
<td>@Html.Raw(item.quota == 0? "무제한": item.quota.ToString())</td>
<td class="link text-center"><a href="#" onclick="golect(@item.cmno)">@Model.Datas.Where(w => w.intval == item.cmno).Select(w => w.intval2).FirstOrDefault()</a></td> <td class="link text-center"><a href="#" onclick="golect(@item.cmno)">@Model.Datas.Where(w => w.intval == item.cmno).Select(w => w.intval2).FirstOrDefault()</a></td>
<td class="link text-center"><a href="#" onclick="copycm(@item.cmno, '@item.cname', @item.pcgno, @item.cgno, @item.pcmno, this)">[복제]</a></td> <td class="link text-center"><a href="#" onclick="copycm(@item.cmno, '@item.cname', @item.pcgno, @item.cgno, @item.pcmno, this)">[복제]</a></td>
</tr> </tr>