mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-11 15:56:05 -07:00
Finished #659
#236 has been modified slightly. Needs testing on Different systems
This commit is contained in:
parent
1793c6f592
commit
1c7fb2e93e
9 changed files with 160 additions and 37 deletions
|
@ -25,14 +25,38 @@
|
|||
// ************************************************************************/
|
||||
#endregion
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using PlexRequests.Core.Models;
|
||||
|
||||
namespace PlexRequests.Core.SettingModels
|
||||
{
|
||||
public class SystemSettings : Settings
|
||||
{
|
||||
public bool UseEarlyAccessPreviewBuilds { get; set; }
|
||||
public Branches Branch { get; set; }
|
||||
|
||||
public StatusModel Status { get; set; }
|
||||
|
||||
public List<BranchDropdown> BranchDropdown { get; set; }
|
||||
}
|
||||
|
||||
public class BranchDropdown
|
||||
{
|
||||
public bool Selected { get; set; }
|
||||
public string Name { get; set; }
|
||||
public Branches Value { get; set; }
|
||||
}
|
||||
|
||||
public enum Branches
|
||||
{
|
||||
[Display(Name = "Stable")]
|
||||
Stable,
|
||||
|
||||
[Display(Name = "Early Access Preview")]
|
||||
EarlyAccessPreview,
|
||||
|
||||
[Display(Name = "Development")]
|
||||
Dev,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue