mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
* Added the ability to request on behalf of a user
* Moved the "advanced" section into a small cog icon on the media details page * Added some more information on the movie panel e.g. Requested By user
This commit is contained in:
parent
87233a7fd3
commit
8220f41e0b
37 changed files with 563 additions and 341 deletions
|
@ -33,6 +33,7 @@ namespace Ombi.Core.Models.Requests
|
|||
{
|
||||
public int TheMovieDbId { get; set; }
|
||||
public string LanguageCode { get; set; } = "en";
|
||||
public string RequestOnBehalf { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This is only set from a HTTP Header
|
||||
|
|
|
@ -12,6 +12,8 @@ namespace Ombi.Core.Models.Requests
|
|||
public List<SeasonsViewModel> Seasons { get; set; } = new List<SeasonsViewModel>();
|
||||
[JsonIgnore]
|
||||
public string RequestedByAlias { get; set; }
|
||||
|
||||
public string RequestOnBehalf { get; set; }
|
||||
}
|
||||
|
||||
public class SeasonsViewModel
|
||||
|
|
|
@ -30,4 +30,10 @@ namespace Ombi.Core.Models.UI
|
|||
public string Value { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
}
|
||||
|
||||
public class UserViewModelDropdown
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Username { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue