mirror of
https://github.com/Radarr/Radarr.git
synced 2024-08-16 23:39:44 +02:00
DisplayName added for EpisodeSortingModel (Used on UI).
This commit is contained in:
parent
46830a2777
commit
1de903e4da
@ -1,5 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
@ -9,16 +11,38 @@ namespace NzbDrone.Web.Models
|
|||||||
{
|
{
|
||||||
public class EpisodeSortingModel
|
public class EpisodeSortingModel
|
||||||
{
|
{
|
||||||
|
[DisplayName("Show Name")]
|
||||||
public bool ShowName { get; set; }
|
public bool ShowName { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Episode Name")]
|
||||||
public bool EpisodeName { get; set; }
|
public bool EpisodeName { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Replace Spaces")]
|
||||||
public bool ReplaceSpaces { get; set; }
|
public bool ReplaceSpaces { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Append Quality")]
|
||||||
public bool AppendQuality { get; set; }
|
public bool AppendQuality { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Use Air By Date")]
|
||||||
public bool UseAirByDate { get; set; }
|
public bool UseAirByDate { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Use Season Folders")]
|
||||||
public bool SeasonFolders { get; set; }
|
public bool SeasonFolders { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Season Folder Format")]
|
||||||
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||||
|
[Display(Description = "This is a Description")]
|
||||||
public string SeasonFolderFormat { get; set; }
|
public string SeasonFolderFormat { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Separator Style")]
|
||||||
public int SeparatorStyle { get; set; }
|
public int SeparatorStyle { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Numbering Style")]
|
||||||
public int NumberStyle { get; set; }
|
public int NumberStyle { get; set; }
|
||||||
|
|
||||||
|
[DisplayName("Multi-Episode Style")]
|
||||||
public int MultiEpisodeStyle { get; set; }
|
public int MultiEpisodeStyle { get; set; }
|
||||||
|
|
||||||
public SelectList SeparatorStyles { get; set; }
|
public SelectList SeparatorStyles { get; set; }
|
||||||
public SelectList NumberStyles { get; set; }
|
public SelectList NumberStyles { get; set; }
|
||||||
public SelectList MultiEpisodeStyles { get; set; }
|
public SelectList MultiEpisodeStyles { get; set; }
|
||||||
|
Loading…
Reference in New Issue
Block a user