2012-02-05 20:17:23 +00:00
|
|
|
@using NzbDrone.Web.Helpers
|
|
|
|
@model NzbDrone.Web.Models.SeriesModel
|
|
|
|
|
2012-02-07 03:48:26 +00:00
|
|
|
<tr class="@Model.SeriesId data-row @(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
|
2012-02-07 08:12:17 +00:00
|
|
|
<td>
|
|
|
|
@{if (!Model.Monitored)
|
|
|
|
{
|
|
|
|
<img src="../../Content/Images/pause.png" width="24" height="24" alt="Not monitored" />
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if (Model.Status == "Ended")
|
|
|
|
{
|
|
|
|
<img src="../../Content/Images/stop.png" width="24" height="24" alt="Ended" />
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<img src="../../Content/Images/play.png" width="24" height="24" alt="Continuing" />
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</td>
|
2012-02-05 20:17:23 +00:00
|
|
|
<td>@Html.ActionLink(Model.Title, "Details", "Series", new { seriesId = Model.SeriesId }, null)</td>
|
|
|
|
<td>@Model.SeasonsCount</td>
|
|
|
|
<td>@Model.QualityProfileName</td>
|
2012-02-07 08:12:17 +00:00
|
|
|
|
2012-02-05 20:17:23 +00:00
|
|
|
<td>@Model.NextAiring</td>
|
|
|
|
<td>
|
|
|
|
@{ double progress = (double)Model.EpisodeFileCount / (double)Model.EpisodeCount * 100; }
|
|
|
|
<div class='progressBar' rel='@progress.ToString("0")'>
|
|
|
|
<span class='progressBarText'>@Model.EpisodeFileCount / @Model.EpisodeCount</span>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
@*Commands Column*@
|
2012-02-05 20:23:37 +00:00
|
|
|
<td class="commandsColumn">
|
2012-02-07 08:12:17 +00:00
|
|
|
<img src="../../Content/Images/settings.png" class="editButton" value="@Model.SeriesId" rel="@Model.Title" />
|
|
|
|
<img src="../../Content/Images/close.png" class="deleteButton" value="@Model.SeriesId" rel="@Model.Title" />
|
2012-02-05 20:17:23 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2012-02-07 03:48:26 +00:00
|
|
|
<tr class="detail-row details_@(Model.SeriesId) @(ViewData["AltRow"] == null || !(bool)ViewData["AltRow"] ? "" : " alt-row")">
|
2012-02-05 20:17:23 +00:00
|
|
|
<td colspan="7">
|
|
|
|
<b>Airs Day of Week:</b> @Model.AirsDayOfWeek <br/>
|
|
|
|
<b>Overview:</b> @Model.Overview
|
|
|
|
</td>
|
|
|
|
</tr>
|