%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectST" %> <%--<%= new MySubjectUserNavTopInstance(this) { Local= MySubjectUserNavTopItem.我的评审任务 }.ToHtml()%>--%>
优课评比封面 | 名称 | 状态 | 评审日期 |
|
<%= new HtmlAnchor(subject.Name) { Href = WebUrl.MySubjectSTVideo(subject.Guid)}%>
<%
int videoCount;
int scoreVideoCount;
int scoreVideoPartCount;
CreateInstance.STUserDao.UserScore(this.ListSTUser[i], out videoCount, out scoreVideoCount, out scoreVideoPartCount);
%>
视频总数:<%= videoCount %> 我的评审视频数<%= CreateInstance.STUserVideoDao.Count(l=>l.ParentSTUser.ParentUser == this.User && l.ParentSubjectVideo.ParentSubject == subject ) %> 已评课:<%= scoreVideoCount %> <% if (scoreVideoPartCount > 0) { %> 评审未完视频:<%= scoreVideoPartCount %> <% } %> |
<% if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime<= DateTime.Now && subject.EndTime >= DateTime.Now) { %> 评审期 <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime > DateTime.Now) { %> 未到评审期 <% } else if (subject.Examine == (int)AVA.ResourcesPlatform.Model.Pub.SubjectExamineEnum.审核通过 && subject.Status == (int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.启动 && subject.CutoffTime > DateTime.Now) { %> 已过评审期 <% } %> |
<%= subject.CutoffTime.ToShortDate()%>
至 <%= subject.EndTime.ToShortDate()%> |