Fixed Missing grid columns.

pull/7/merge
Mark McDowall 13 years ago
parent 22d92e52ff
commit 66bb9f9fdd

@ -19,13 +19,13 @@ Missing
Url.Action("Details", "Series", new { seriesId = "<#= SeriesId #>" }) + Url.Action("Details", "Series", new { seriesId = "<#= SeriesId #>" }) +
"><#= SeriesTitle #></a>") "><#= SeriesTitle #></a>")
.Title("Series Title"); .Title("Series Title");
columns.Bound(c => c.SeasonNumber).Title("Season").Width(40); columns.Bound(c => c.SeasonNumber).Title("Season #").Width(85);
columns.Bound(c => c.EpisodeNumber).Title("Episode").Width(40); columns.Bound(c => c.EpisodeNumber).Title("Episode #").Width(85);
columns.Bound(c => c.EpisodeTitle).Title("Episode Title"); columns.Bound(c => c.EpisodeTitle).Title("Episode Title");
columns.Bound(c => c.AirDate) columns.Bound(c => c.AirDate)
.ClientTemplate("<#= AirDateString #>") .ClientTemplate("<#= AirDateString #>")
.Title("Air Date") .Title("Air Date")
.Width(80); .Width(90);
columns.Bound(c => c.EpisodeId) columns.Bound(c => c.EpisodeId)
.Title("Actions") .Title("Actions")
.ClientTemplate("<a href=\"../Episode/Season?episodeId=<#= EpisodeId #>\" onClick=\"searchForEpisode(<#= EpisodeId #>); return false;\"><img src='../../Content/Images/Search.png' alt='Search' title='Search for Episode' class='searchImage' /></a>") .ClientTemplate("<a href=\"../Episode/Season?episodeId=<#= EpisodeId #>\" onClick=\"searchForEpisode(<#= EpisodeId #>); return false;\"><img src='../../Content/Images/Search.png' alt='Search' title='Search for Episode' class='searchImage' /></a>")

Loading…
Cancel
Save