Added event type icon to history grid.

This commit is contained in:
Keivan Beigi 2013-06-10 18:55:05 -07:00
commit 76fb548ccd
9 changed files with 87 additions and 8 deletions

View file

@ -61,6 +61,7 @@ namespace NzbDrone.Core.History
{
var history = new History
{
EventType = HistoryEventType.Grabbed,
Date = DateTime.UtcNow,
Quality = message.Episode.ParsedEpisodeInfo.Quality,
SourceTitle = message.Episode.Report.Title,
@ -83,6 +84,7 @@ namespace NzbDrone.Core.History
{
var history = new History
{
EventType = HistoryEventType.DownloadFolderImported,
Date = DateTime.UtcNow,
Quality = message.EpisodeFile.Quality,
SourceTitle = message.EpisodeFile.Path,