mirror of
https://github.com/Radarr/Radarr
synced 2024-12-30 20:05:41 +00:00
4225685715
Removed DataTables extras.
47 lines
No EOL
1.5 KiB
Text
47 lines
No EOL
1.5 KiB
Text
@using NzbDrone.Core.Model
|
|
@using NzbDrone.Web.Helpers
|
|
@using NzbDrone.Web.Models
|
|
@model UpcomingEpisodeModel
|
|
|
|
@{
|
|
Layout = null;
|
|
}
|
|
|
|
<tr class='@Model.EpisodeId data-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")'>
|
|
<td>@Html.ActionLink(Model.SeriesTitle, "Details", "Series", new { seriesId = Model.SeriesId }, null)</td>
|
|
<td>@Model.EpisodeNumbering</td>
|
|
<td>@Model.Title</td>
|
|
|
|
<td>
|
|
@{ if(Model.AirDateTime >= DateTime.Today.AddDays(-1) && Model.AirDateTime <= DateTime.Today.AddDays(2))
|
|
{
|
|
@(Model.AirTime)
|
|
}
|
|
else
|
|
{
|
|
@(Model.AirDate + " at " + Model.AirTime)
|
|
}
|
|
}
|
|
</td>
|
|
|
|
@{
|
|
string cellColourClass = String.Empty;
|
|
|
|
if (Model.Status == "Missing")
|
|
{
|
|
cellColourClass = "episodeMissing";
|
|
}
|
|
}
|
|
|
|
@*Commands Column*@
|
|
<td class="@cellColourClass">
|
|
<img src='../../Content/Images/@(Model.Status).png' alt='@Model.Status' title='@Model.Status' class='statusImage status-@Model.Status' />
|
|
@Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "searchImage" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null)
|
|
</td>
|
|
</tr>
|
|
|
|
<tr class='detail-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")'>
|
|
<td colspan="6">
|
|
<b>Overview: </b>@Model.Overview
|
|
</td>
|
|
</tr> |