Added links and api key links to notifications

This commit is contained in:
Mark McDowall 2013-07-27 13:57:41 -07:00
commit 625acef635
23 changed files with 90 additions and 9 deletions

View file

@ -8,6 +8,7 @@ namespace NzbDrone.Api.ClientSchema
public string Name { get; set; }
public string Label { get; set; }
public string HelpText { get; set; }
public string HelpLink { get; set; }
public object Value { get; set; }
public string Type { get; set; }
public List<SelectOption> SelectOptions { get; set; }

View file

@ -26,6 +26,7 @@ namespace NzbDrone.Api.ClientSchema
Name = propertyInfo.Name,
Label = fieldAttribute.Label,
HelpText = fieldAttribute.HelpText,
HelpLink = fieldAttribute.HelpLink,
Order = fieldAttribute.Order,
Type = fieldAttribute.Type.ToString().ToLowerInvariant()
};