nzb titles in manual search will wrap

This commit is contained in:
Mark McDowall 2013-09-01 11:30:54 -07:00
parent fd54486478
commit 0974d275ef
3 changed files with 7 additions and 2 deletions

View File

@ -17,7 +17,7 @@ namespace NzbDrone.Core.Parser.Model
public bool IsRecentEpisode() public bool IsRecentEpisode()
{ {
return Episodes.Any(e => e.AirDateUtc >= DateTime.Today.AddDays(-14)); return Episodes.Any(e => e.AirDateUtc >= DateTime.UtcNow.Date.AddDays(-14));
} }
public override string ToString() public override string ToString()

View File

@ -56,4 +56,9 @@ td.episode-status-cell, td.quality-cell {
i { i {
.clickable(); .clickable();
} }
}
.nzb-title-cell {
max-width: 600px;
word-wrap: break-word;
} }

View File

@ -29,7 +29,7 @@ define(
name : 'title', name : 'title',
label : 'Title', label : 'Title',
sortable: true, sortable: true,
cell : Backgrid.StringCell cell : Backgrid.StringCell.extend({ className: 'nzb-title-cell' })
}, },
{ {
name : 'indexer', name : 'indexer',