%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyRecordVideo.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyRecordVideo" %> <%= new MyApplicationNavTopInstance(this) { Local= MyApplicationNavTopItem.录制视频 }.ToHtml()%>
文件名 | 授课地点 | 授课时间 | 状态 | 操作 | |
<%= new HtmlCheckBox() { Lang = recordVideo.Guid, Value = SetKey(recordVideo.Guid, recordVideo.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%= ViewData.Val("ParentRecordEquipment.Name", recordVideo)%> |
<%= recordVideo.StartTime.ToLongDate() %>
至 <%= recordVideo.EndTime.ToLongDate() %> |
<%= (recordVideo.DownloadStatus != null ? ((AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum)recordVideo.DownloadStatus).Define() : null).Replace("视频","")%>
<%= new HtmlAnchor("查看详细") { ID="downloadDetail" + recordVideo.Guid, Href = WebUrl.MyRecordVideoDownloadDetail(recordVideo.Guid) }.Style(new { Display = "None" })%> <% if (recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.视频队列中 || recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.视频正在等待续传 || recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.视频正在归档 || recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.已归档 || recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.已发布 || recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.发布失败) { %> <% } %> <%-- <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(recordVideo.FileSize.ToDouble())%>--%> |
<% if ((recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.已归档 ||recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.已发布 || recordVideo.DownloadStatus == (int)AVA.ResourcesPlatform.Model.Pub.RecordVideoDownloadStatusEnum.发布失败) && FileExists(SettingGroup.RecordVideoUploadPath + recordVideo.ParentUser.Guid + "/", recordVideo.FileName)) { %> <%= new HtmlAnchor("发布课例") { Href = WebUrl.MyVideoUpload(recordVideo.Guid) }%> <% } else { %> <%--<%= System.Web.HttpContext.Current.Server.MapPath("~" + SettingGroup.RecordVideoUploadPath + recordVideo.ParentUser.Guid + "/" + recordVideo.FileName) %> <%= System.IO.File.Exists(System.Web.HttpContext.Current.Server.MapPath("~" + SettingGroup.RecordVideoUploadPath + recordVideo.ParentUser.Guid + "/" + recordVideo.FileName)) %>--%> <%= new HtmlAnchor("发布课例") { ID = "aCovert" + recordVideo.Guid, Href = WebUrl.MyVideoUpload(recordVideo.Guid) }.Style(new { Display = "none" })%> <% } %> |