2012-02-04 05:34:02 +01:00
@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.EpisodeModel
2012-02-06 23:13:33 +01:00
<tr class="@Model.EpisodeId data-row">
2012-02-04 05:34:02 +01:00
<td>@Model.EpisodeNumber</td>
<td>@Model.Title</td>
<td>@Model.AirDate</td>
<td>@Model.Quality</td>
2012-02-04 08:36:52 +01:00
@{
string cellColourClass = String.Empty;
if (Model.Status == "Missing")
{
cellColourClass = "episodeMissing";
}
if (Model.Ignored)
{
cellColourClass = "episodeIgnored";
}
}
2012-02-04 05:34:02 +01:00
@*Commands Column*@
2012-02-04 08:36:52 +01:00
<td class="@cellColourClass">
2012-02-07 02:22:17 +01:00
<img src='../../Content/Images/@(Model.Ignored ? "ignored" : "notIgnored").png' class='ignoreEpisode ignoreEpisode_@(Model.SeasonNumber)@(Model.Ignored ? " ignored" : " ")' id='@Model.EpisodeId' title='Click to toggle episode ignore status' />
2012-02-04 05:34:02 +01:00
<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)
@Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename episode", @class = "renameImage" }, "Rename", "Episode", new { EpisodeFileId = Model.EpisodeFileId }, null, null)
</td>
2012-02-04 21:08:39 +01:00
</tr>
2012-02-06 23:13:33 +01:00
<tr class="detail-row">
2012-02-04 21:08:39 +01:00
<td colspan="5">
@Model.Overview <br />
<b>@Model.Path</b>
</td>
2012-02-04 05:34:02 +01:00
</tr>