2012-02-07 09:47:02 +03:00
2012-02-04 07:34:02 +03:00
@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.EpisodeModel
2012-02-12 12:52:51 +03:00
<tr class="episodeId_@(Model.EpisodeId) data-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
2012-02-04 07:34:02 +03:00
<td>@Model.EpisodeNumber</td>
<td>@Model.Title</td>
<td>@Model.AirDate</td>
<td>@Model.Quality</td>
2012-02-04 10:36:52 +03:00
@{
string cellColourClass = String.Empty;
if (Model.Status == "Missing")
{
cellColourClass = "episodeMissing";
}
if (Model.Ignored)
{
cellColourClass = "episodeIgnored";
}
}
2012-02-04 07:34:02 +03:00
@*Commands Column*@
2012-02-04 10:36:52 +03:00
<td class="@cellColourClass">
2012-02-25 22:41:48 +03:00
<img src='../../Content/Images/@(Model.Ignored ? "ignored" : "notIgnored").png' class='ignoreEpisode ignoreEpisode_@(Model.SeasonNumber)@(Model.Ignored ? " ignored" : " ") gridAction' id='@Model.EpisodeId' title='Click to toggle episode ignore status' />
@Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for episode", @class = "gridAction" }, "Search", "Episode", new { episodeId = Model.EpisodeId }, null, null)
2012-02-25 19:35:27 +03:00
<img src='../../Content/Images/@(Model.Status).png' alt='@Model.Status' title='@Model.Status' class='gridImage status-@Model.Status statusImage' />
2012-02-04 07:34:02 +03:00
</td>
2012-02-04 23:08:39 +03:00
</tr>
2012-02-07 06:48:26 +03:00
<tr class="detail-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
2012-02-04 23:08:39 +03:00
<td colspan="5">
@Model.Overview <br />
<b>@Model.Path</b>
</td>
2012-02-04 07:34:02 +03:00
</tr>