diff --git a/NzbDrone.Web/Views/Series/Index.cshtml b/NzbDrone.Web/Views/Series/Index.cshtml
index 4af95fc14..f8bc87878 100644
--- a/NzbDrone.Web/Views/Series/Index.cshtml
+++ b/NzbDrone.Web/Views/Series/Index.cshtml
@@ -80,8 +80,9 @@
}
+
-
+
@@ -89,34 +90,38 @@
-
- Status>
- | Title |
- Seasons |
- Quality |
- Next Airing |
- Episodes |
+
- @*Commands Column*@
-
-
- |
-
-
- @for (int i = 0; i < Model.Count; i++)
- {
- var series = Model[i];
+
+ Status |
+ Title |
+ Seasons |
+ Quality |
+ Next Airing |
+ Episodes |
- if (i % 2 == 0)
+ @*Commands Column*@
+
+
+ |
+
+
+
+ @for (int i = 0; i < Model.Count; i++)
{
- Html.RenderPartial("Series", series);
- }
+ var series = Model[i];
+
+ if (i % 2 == 0)
+ {
+ Html.RenderPartial("Series", series);
+ }
- else
- {
- Html.RenderPartial("Series", series, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ else
+ {
+ Html.RenderPartial("Series", series, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ }
}
- }
+
diff --git a/NzbDrone.Web/Views/Series/Season.cshtml b/NzbDrone.Web/Views/Series/Season.cshtml
index 2f1cd6fbb..5fe0e4e8b 100644
--- a/NzbDrone.Web/Views/Series/Season.cshtml
+++ b/NzbDrone.Web/Views/Series/Season.cshtml
@@ -8,37 +8,41 @@
-
+
-
- # |
- Title |
- Air Date |
- Quality |
+
+
+ # |
+ Title |
+ Air Date |
+ Quality |
- @*Commands Column*@
-
-
-
- @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for all episodes in this season", @class = "searchImage searchImageMaster" }, "SearchSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null)
- @Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename all episodes in this season", @class = "renameImage renameImageMaster" }, "RenameSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null)
- |
-
- @for (int i = 0; i < Model.Episodes.Count; i++)
- {
- var episode = Model.Episodes[i];
-
- if (i % 2 == 0)
+ @*Commands Column*@
+
+
+
+ @Ajax.ImageActionLink("../../Content/Images/Search.png", new { Alt = "Search", Title = "Search for all episodes in this season", @class = "searchImage searchImageMaster" }, "SearchSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null)
+ @Ajax.ImageActionLink("../../Content/Images/Rename.png", new { Alt = "Rename", Title = "Rename all episodes in this season", @class = "renameImage renameImageMaster" }, "RenameSeason", "Episode", new { SeriesId = Model.SeriesId, SeasonNumber = Model.SeasonNumber }, null, null)
+ |
+
+
+
+ @for (int i = 0; i < Model.Episodes.Count; i++)
{
- Html.RenderPartial("Episode", episode);
- }
+ var episode = Model.Episodes[i];
+
+ if (i % 2 == 0)
+ {
+ Html.RenderPartial("Episode", episode);
+ }
- else
- {
- Html.RenderPartial("Episode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ else
+ {
+ Html.RenderPartial("Episode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ }
}
- }
+
\ No newline at end of file
diff --git a/NzbDrone.Web/Views/Upcoming/Index.cshtml b/NzbDrone.Web/Views/Upcoming/Index.cshtml
index 48efe4ea9..a3cce8b0d 100644
--- a/NzbDrone.Web/Views/Upcoming/Index.cshtml
+++ b/NzbDrone.Web/Views/Upcoming/Index.cshtml
@@ -21,97 +21,101 @@
-
- Series Title |
- Season # |
- Episode # |
- Episode Title |
- Air Time |
+
+
+ Series Title |
+ Season # |
+ Episode # |
+ Episode Title |
+ Air Time |
- @*Commands/Status Column*@
-
- Status
- |
-
-
-
- Yesterday
- |
-
+ @*Commands/Status Column*@
+
+ Status
+ |
+
+
+
+
+
+ Yesterday
+ |
+
- @for (int i = 0; i < Model.Yesterday.Count; i++)
- {
- var episode = Model.Yesterday[i];
-
- if (i % 2 == 0)
+ @for (int i = 0; i < Model.Yesterday.Count; i++)
{
- Html.RenderPartial("UpcomingEpisode", episode);
- }
+ var episode = Model.Yesterday[i];
+
+ if (i % 2 == 0)
+ {
+ Html.RenderPartial("UpcomingEpisode", episode);
+ }
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ else
+ {
+ Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ }
}
- }
-
-
- Today
- |
-
+
+
+ Today
+ |
+
- @for (int i = 0; i < Model.Today.Count; i++)
- {
- var episode = Model.Today[i];
-
- if (i % 2 == 0)
+ @for (int i = 0; i < Model.Today.Count; i++)
{
- Html.RenderPartial("UpcomingEpisode", episode);
- }
+ var episode = Model.Today[i];
+
+ if (i % 2 == 0)
+ {
+ Html.RenderPartial("UpcomingEpisode", episode);
+ }
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ else
+ {
+ Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ }
}
- }
-
-
- Tomorrow
- |
+
+
+ Tomorrow
+ |
- @for (int i = 0; i < Model.Tomorrow.Count; i++)
- {
- var episode = Model.Tomorrow[i];
-
- if (i % 2 == 0)
+ @for (int i = 0; i < Model.Tomorrow.Count; i++)
{
- Html.RenderPartial("UpcomingEpisode", episode);
- }
+ var episode = Model.Tomorrow[i];
+
+ if (i % 2 == 0)
+ {
+ Html.RenderPartial("UpcomingEpisode", episode);
+ }
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ else
+ {
+ Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ }
}
- }
-
-
- Future Forecast
- |
-
+
+
+ Future Forecast
+ |
+
- @for (int i = 0; i < Model.Week.Count; i++)
- {
- var episode = Model.Week[i];
-
- if (i % 2 == 0)
+ @for (int i = 0; i < Model.Week.Count; i++)
{
- Html.RenderPartial("UpcomingEpisode", episode);
- }
+ var episode = Model.Week[i];
+
+ if (i % 2 == 0)
+ {
+ Html.RenderPartial("UpcomingEpisode", episode);
+ }
- else
- {
- Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ else
+ {
+ Html.RenderPartial("UpcomingEpisode", episode, new ViewDataDictionary { new KeyValuePair("AltRow", true) });
+ }
}
- }
+
@section Scripts{