%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List.ascx.cs" Inherits="AVA.ResourcesPlatform.AdminUI.Pub.CreditsVideo.List1" %>
<%= new HtmlCheckBox() { Class = "trSelAll", Title = DefineEnum.全选_不选_本页所有记录.Define(), Lang = ".listContainer .trsel" }%> | <% foreach (var field in this.Fields) { switch (field) { case "Status": //CreditsVideo_状态 %> | ',event)"> <%= Define.Get("CreditsVideo_状态").HtmlEncode() %> <%= OrderBy("Status") %> | <% break; case "CreditsType": //CreditsVideo_片头视频类型 %>',event)"> <%= Define.Get("CreditsVideo_片头视频类型").HtmlEncode() %> <%= OrderBy("CreditsType") %> | <%-- <% break; case "TargetGuid": //CreditsVideo_播放片头视频目标Guid %>',event)"> <%= Define.Get("CreditsVideo_播放片头视频目标Guid").HtmlEncode() %> <%= OrderBy("TargetGuid") %> | --%> <% break; case "Name": //CreditsVideo_片头视频名称 %>',event)"> <%= Define.Get("CreditsVideo_片头视频名称").HtmlEncode() %> <%= OrderBy("Name") %> | <%-- <% break; case "FileName": //CreditsVideo_片头视频文件名 %>',event)"> <%= Define.Get("CreditsVideo_片头视频文件名").HtmlEncode() %> <%= OrderBy("FileName") %> | --%> <% break; case "Description": //CreditsVideo_片头视频描述 %>',event)"> <%= Define.Get("CreditsVideo_片头视频描述").HtmlEncode() %> <%= OrderBy("Description") %> | <% break; case "ConvertStatus": //CreditsVideo_视频转换结果 %>',event)"> <%= Define.Get("CreditsVideo_视频转换结果").HtmlEncode() %> <%= OrderBy("ConvertStatus") %> | <% break; case "ConvertDescription": //CreditsVideo_转换备注 %>',event)"> <%= Define.Get("CreditsVideo_转换备注").HtmlEncode() %> <%= OrderBy("ConvertDescription") %> | <% break; case "ConvertStartTime": //CreditsVideo_转换开始时间 %>',event)"> <%= Define.Get("CreditsVideo_转换开始时间").HtmlEncode() %> <%= OrderBy("ConvertStartTime") %> | <% break; case "ConvertEndTime": //CreditsVideo_转换完成时间 %>',event)"> <%= Define.Get("CreditsVideo_转换完成时间").HtmlEncode() %> <%= OrderBy("ConvertEndTime") %> | <% break; case "VideoInfo": //CreditsVideo_视频信息 %>',event)"> <%= Define.Get("CreditsVideo_视频信息").HtmlEncode() %> <%= OrderBy("VideoInfo") %> | <% break; case "CreateTime": //CreditsVideo_创建时间 %>',event)"> <%= Define.Get("CreditsVideo_创建时间").HtmlEncode() %> <%= OrderBy("CreateTime") %> | <% break; } } %>|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%= new HtmlCheckBox() { Value= SetKey(item.Guid, item.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
foreach (var field in this.Fields)
{
switch (field)
{
case "Status":
%>
<%= item.Status != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoStatusEnum)item.Status).Define() : null %> | <% break; case "CreditsType": %><%= item.CreditsType != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoCreditsTypeEnum)item.CreditsType).Define() : null %> | <%-- <% break; case "TargetGuid": %><%= item.TargetGuid %> | --%> <% break; case "Name": %><%= item.Name %> | <%--<% break; case "FileName": %><%= File(SettingGroup.CreditsVideoUploadPath, item.FileName) %> <%= item.FileName %> | --%> <% break; case "Description": %><%= new HtmlSpan(item.Description) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "ConvertStatus": %><%= item.ConvertStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.CreditsVideoConvertStatusEnum)item.ConvertStatus).Define() : null %> | <% break; case "ConvertDescription": %><%= new HtmlSpan(item.ConvertDescription) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "ConvertStartTime": %><%= item.ConvertStartTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "ConvertEndTime": %><%= item.ConvertEndTime.ToDateTimeN().ToAutoShortDate() %> | <% break; case "VideoInfo": %><%= new HtmlSpan(item.VideoInfo) { FilterHtml = true, TextLength = 30, Suffix = "...", WideWord = true } %> | <% break; case "CreateTime": %><%= item.CreateTime.ToDateTimeN().ToAutoShortDate() %> | <% break; } } %>