diff --git a/NzbDrone.Web/Content/telerik.common.min.css b/NzbDrone.Web/Content/telerik.common.min.css index aa4733e56..7fcb656e5 100644 --- a/NzbDrone.Web/Content/telerik.common.min.css +++ b/NzbDrone.Web/Content/telerik.common.min.css @@ -488,7 +488,7 @@ div.t-window-content { border-width: 0 1px 1px 0; font-weight: normal; overflow: hidden; - padding: 0.3em 0.3em; + padding: 0.3em 0.6em; white-space: nowrap; } .t-grid-header .t-last-header { @@ -500,7 +500,7 @@ div.t-window-content { height: 18px; line-height: 18px; margin: -0.3em -0.6em; - padding: 0.3em 0.3em 0.3em 0.6em; + padding: 0.3em 2.4em 0.3em 0.6em; } .t-grid-header .t-header .t-icon { position: static; diff --git a/NzbDrone.Web/Controllers/UpcomingController.cs b/NzbDrone.Web/Controllers/UpcomingController.cs index 945597324..13de33206 100644 --- a/NzbDrone.Web/Controllers/UpcomingController.cs +++ b/NzbDrone.Web/Controllers/UpcomingController.cs @@ -30,14 +30,15 @@ namespace NzbDrone.Web.Controllers public ActionResult _AjaxBindingYesterday() { var upcoming = _upcomingEpisodesProvider.Yesterday().Select(e => new UpcomingEpisodeModel - { - SeriesName = e.Series.Title, - SeasonNumber = e.SeasonNumber, - EpisodeNumber = e.EpisodeNumber, - Title = e.Title, - Overview = e.Overview, - AirDate = e.AirDate - }); + { + SeriesId = e.Series.SeriesId, + SeriesName = e.Series.Title, + SeasonNumber = e.SeasonNumber, + EpisodeNumber = e.EpisodeNumber, + Title = e.Title, + Overview = e.Overview, + AirDate = e.AirDate + }); return View(new GridModel(upcoming)); } @@ -47,6 +48,7 @@ namespace NzbDrone.Web.Controllers { var upcoming = _upcomingEpisodesProvider.Today().Select(e => new UpcomingEpisodeModel { + SeriesId = e.Series.SeriesId, SeriesName = e.Series.Title, SeasonNumber = e.SeasonNumber, EpisodeNumber = e.EpisodeNumber, @@ -63,6 +65,7 @@ namespace NzbDrone.Web.Controllers { var upcoming = _upcomingEpisodesProvider.Week().Select(e => new UpcomingEpisodeModel { + SeriesId = e.Series.SeriesId, SeriesName = e.Series.Title, SeasonNumber = e.SeasonNumber, EpisodeNumber = e.EpisodeNumber, diff --git a/NzbDrone.Web/Models/UpcomingEpisodeModel.cs b/NzbDrone.Web/Models/UpcomingEpisodeModel.cs index 84365496c..a5be43084 100644 --- a/NzbDrone.Web/Models/UpcomingEpisodeModel.cs +++ b/NzbDrone.Web/Models/UpcomingEpisodeModel.cs @@ -7,6 +7,7 @@ namespace NzbDrone.Web.Models { public class UpcomingEpisodeModel { + public int SeriesId { get; set; } public string SeriesName { get; set; } public int SeasonNumber { get; set; } public int EpisodeNumber { get; set; } diff --git a/NzbDrone.Web/Views/History/Index.aspx b/NzbDrone.Web/Views/History/Index.aspx index 76b3dc389..54cb6abf6 100644 --- a/NzbDrone.Web/Views/History/Index.aspx +++ b/NzbDrone.Web/Views/History/Index.aspx @@ -47,9 +47,11 @@ columns.Bound(c => c.Date).Title("Date Grabbed").Width(60); }) .DetailView(detailView => detailView.ClientTemplate( + "
" )) .DataBinding(data => data.Ajax().Select("_AjaxBinding", "History")) diff --git a/NzbDrone.Web/Views/Shared/Site.Master b/NzbDrone.Web/Views/Shared/Site.Master index 7cd6f1ddf..de7e630ce 100644 --- a/NzbDrone.Web/Views/Shared/Site.Master +++ b/NzbDrone.Web/Views/Shared/Site.Master @@ -31,6 +31,8 @@