nzb titles in manual search will wrap

pull/4/head
Mark McDowall 11 years ago
parent fd54486478
commit 0974d275ef

@ -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()

@ -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;
} }

@ -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',

Loading…
Cancel
Save