2012-02-04 04:34:02 +00:00
@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.EpisodeModel
2012-09-30 22:39:08 +00:00
<tr class="data-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")" data-episodefileid="@Model.EpisodeFileId" data-episode-id="@Model.EpisodeId">
2012-02-04 04:34:02 +00:00
<td>@Model.EpisodeNumber</td>
<td>@Model.Title</td>
<td>@Model.AirDate</td>
2012-09-03 23:26:52 +00:00
<td class="episodeQuality" data-qualityid="@Model.QualityId">@Model.Quality</td>
2012-02-04 04:34:02 +00:00
2012-02-04 07:36:52 +00:00
@{
string cellColourClass = String.Empty;
if (Model.Status == "Missing")
{
cellColourClass = "episodeMissing";
}
if (Model.Ignored)
{
cellColourClass = "episodeIgnored";
}
}
2012-02-04 04:34:02 +00:00
@*Commands Column*@
2012-02-04 07:36:52 +00:00
<td class="@cellColourClass">
2012-10-11 02:02:17 +00:00
<i class="icon-eye-open ignoreEpisode @(Model.Ignored ? " ignored" : " ") gridAction" title="Click to toggle episode ignore status" data-season="@Model.SeasonNumber" data-episode-id="@Model.EpisodeId" ></i>
@Ajax.IconActionLink("icon-search gridAction", "", "Search", "Episode", new { SeriesId = Model.EpisodeId }, null, new { title = "Search for episode" })
<i class="icon-tag changeQuality gridAction" title="Click to change the quality of the episode file" data-changetype="episode"></i>
<i class="gridImage statusImage" title="@Model.Status" data-status="@Model.Status" ></i>
2012-02-04 04:34:02 +00:00
</td>
2012-02-04 20:08:39 +00:00
</tr>
2012-02-07 03:48:26 +00:00
<tr class="detail-row@(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
2012-02-04 20:08:39 +00:00
<td colspan="5">
@Model.Overview <br />
<b>@Model.Path</b>
</td>
2012-02-04 04:34:02 +00:00
</tr>