2 @*@model List<CPE.App.Web.Models.OnDemanCoursesDataResult>*@
3 @*TODO This view will use the model from our db, not the api release model*@
5 ViewBag.Title = "On Demand Courses";
7 @*<script type="text/javascript" src="/static/js/index/index.js"></script>*@
8 <h2 class="floatright">On Demand Courses</h2>
9 <h3 class="floatleft">@Html.ActionLink("Meeting Sessions", "Index", "Index")</h3>
11 <table id="onDemandCoursesTable" class="display">
19 <th>Course Type (Content or Test) or Certificate?</th>
23 @*@foreach (var onDemandCourse in Model)
26 <td class="cell namecell"><a href="/OnDemandCousedetails/@onDemandCourse.OnDemandCourseKey">@onDemandCourse.Name</a></td>
27 <td class="cell datecell">@OnDemandCouse.CreatedDate.GetValueOrDefault().ToString("MM/dd/yyyy")</td>
28 <td class="cell numbercell">@OnDemandCouse.ToString("hh:mm tt")</td>
29 <td class="cell numbercell">@OnDemandCouse.ToString("hh:mm tt")</td>
30 <td class="cell numbercell">@OnDemandCouse.TotalSessionTime.GetValueOrDefault()</td>
31 <td class="cell namecell">@OnDemandCouse.ActualSessionTime.GetValueOrDefault()</td>