%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MySubjectParticipate.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectParticipate" %> <%--<%= new MySubjectUserNavTopInstance(this) { Local= MySubjectUserNavTopItem.我的活动 }.ToHtml()%>--%>
任务封面 | 任务名称 | 任务完成时间 | <%--最后申请时间 | --%>操作 | |
<%= new HtmlCheckBox() { Value = SetKey(subjectUser.Guid, subjectUser.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
<%
if(subject.Status==(int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.禁用)
{
%>
<%= new HtmlAnchor(
new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { OnErrorImg=SettingGroup.DefaultImg}
) { Href = "#", OnClick= "CheckStatus()" ,Title = subject.Name }%>
<%
}
else
{
//说明是优课评比Or实训竞赛
if (this.STEnable == (int)AVA.ResourcesPlatform.Model.Pub.SubjectSTEnableEnum.是)
{
%>
<%= new HtmlAnchor(
new HtmlImg(SettingGroup.SubjectCover(subject), subject.Name) { OnErrorImg=SettingGroup.DefaultImg}
) { Href = WebUrl.SubjectView(subject.Guid), Target = "_blank", Title = subject.Name }%>
<%
}
else
{
%>
<%
}
}
%>
|
<%
if(subject.Status==(int)AVA.ResourcesPlatform.Model.Pub.SubjectStatusEnum.禁用)
{
%>
<%= new HtmlAnchor(subject.Name) { Href = "#", OnClick= "CheckStatus()" }%>
<%
}
else
{
//说明是优课评比Or实训竞赛
if (this.STEnable == (int)AVA.ResourcesPlatform.Model.Pub.SubjectSTEnableEnum.是)
{
%>
<%= new HtmlAnchor(subject.Name) { Href = WebUrl.SubjectView(subject.Guid),Suffix="..", TextLength=8, Target = "_blank" }%>
<%
}
else
{
%>
<%=subject.Name %>
<%
}
}
%>
|
<%= subject.BeginTime.ToShortDate() %> 至 <%= subject.EndTime.ToShortDate() %> | <%--<%= subject.CutoffTime.ToShortDate() %> | --%>
添加实训视频
<%= new HtmlAnchor("查看已添加视频") { Href = WebUrl.MySubjectUserVideo(subject.Guid) }%> |