%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyApplication.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyApplication" %> <%= new MyApplicationNavTopInstance(this) { Local= MyApplicationNavTopItem.我的录制 }.ToHtml()%>
录制名称 | 授课地点 | 年级 | 状态 | 时间 | 第几节 | 操作 | |
<%= new HtmlCheckBox() { Value = SetKey(application.Guid, application.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> | <% if (!string.IsNullOrEmpty(application.Title) && !string.IsNullOrEmpty(application.Title)) { %> <%= new HtmlAnchor(application.Title) { Href = WebUrl.LivePlay(application.Guid), Target = "_Blank", Suffix="..", TextLength=10 }%> <%--(<%= application.Speaker%>)--%> <% } %> | <%--<%= new HtmlAnchor(application.ParentRecordEquipment.Name) { Href = WebUrl.LivePlay(application.Guid), Target = "_Blank" }%>--%> <%= application.ParentRecordEquipment.Name %> <%-- [ <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationShareEnum)application.Share).Define() %>] --%> | <%--<%= application.ParentRecordEquipment.Name %>--%> <%--[ <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationShareEnum)application.Share).Define() %>]--%> <%= ViewData.Val("ParentGrade.Name", application) %> |
<%
if (application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.批准
|| application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.签到)
{
%>
<%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define() %>
<%= new HtmlSpan(application.DealRemark) { Title=application.DealTime.ToString() + ":" + application.DealRemark, WideWord= true,Suffix="...", TextLength=12 }%> <%= new HtmlSpan(application.ConfirmRemark) { Title = application.ConfirmTime.ToString() + ":" + application.ConfirmRemark, WideWord= true,Suffix="...", TextLength=12 }%> <% } else if (application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.取消 || application.Status == (int)AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum.拒绝) { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define()%> <%= new HtmlSpan(application.CancelRemark) { Title = application.CancelTime.ToString() + ":" + application.CancelRemark, WideWord= true,Suffix="...", TextLength=12 }%> <% } else { %> <%= ((AVA.ResourcesPlatform.Model.Pub.ApplicationStatusEnum)application.Status).Define()%> <% } %> |
<%= application.ApplicationDate.ToShortDate() %> <%= application.StartTime.ToShortTimeString() %> 至<%= application.EndTime.ToShortTimeString()%> | <%= application.Chatper %> | <%= new HtmlAnchor("附件") { Href = WebUrl.MyApplicationAttachmentList(application.Guid) }%> <% if (CreateInstance.ApplicationDao.TheEnd(application) == false) { %> | <%= new HtmlAnchor("查看") { Href = WebUrl.LivePlay(application.Guid), Target = "_Blank" }%> <% } else { %> <%--| <%= new HtmlAnchor("回看") { Href = WebUrl.LivePlay(application.Guid), Target = "_Blank" }%>--%> <% } %> <%-- <% if (DateTime.Now.Date <= application.EndTime.Date) { %> | <%= new HtmlAnchor("修改") { Href = WebUrl.MyApplicationAdd(application.Guid) }%> <% } %>--%> |