1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/NzbDrone.Web/Views/Series/Series.cshtml
2012-02-05 12:23:37 -08:00

30 lines
1.3 KiB
Plaintext

@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.SeriesModel
<tr class="@Model.SeriesId">
<td>@Html.ActionLink(Model.Title, "Details", "Series", new { seriesId = Model.SeriesId }, null)</td>
<td>@Model.SeasonsCount</td>
<td>@Model.QualityProfileName</td>
<td>@Model.Status</td>
<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*@
<td class="commandsColumn">
<img src="../../Content/Images/Rename.png" class="editButton" value="@Model.SeriesId" rel="@Model.Title" />
<img src="../../Content/Images/Delete.png" class="deleteButton" value="@Model.SeriesId" rel="@Model.Title" />
@*<div class="editButton" value="@Model.SeriesId" rel="@Model.Title">Edit</div>
<div class="deleteButton" value="@Model.SeriesId" rel="@Model.Title">Delete</div>*@
</td>
</tr>
<tr class="detail-view details_@(Model.SeriesId)">
<td colspan="7">
<b>Airs Day of Week:</b> @Model.AirsDayOfWeek <br/>
<b>Overview:</b> @Model.Overview
</td>
</tr>