Series Grid AJAX'd.

Edit in popup for Series Grid using custom editing template.
This commit is contained in:
Mark McDowall 2011-05-09 23:32:33 -07:00
commit 70bfc49b4e
9 changed files with 181 additions and 14 deletions

View file

@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using NzbDrone.Core.Repository;
namespace NzbDrone.Web.Models
{
public class SeriesModel
{
public int SeriesId { get; set; }
//View Only
public string Title { get; set; }
public int SeasonsCount { get; set; }
public string Status { get; set; }
public string AirsDayOfWeek { get; set; }
public string QualityProfileName { get; set; }
public string Overview { get; set; }
//View & Edit
[DisplayName("Path")]
public string Path { get; set; }
[DisplayName("Quality Profile")]
public virtual int QualityProfileId { get; set; }
//Editing Only
[DisplayName("Use Season Folder")]
public bool SeasonFolder { get; set; }
[DisplayName("Monitored")]
public bool Monitored { get; set; }
}
}