@using Nancy.Security @using Nancy.Security @using Ombi.Helpers @using Ombi.Helpers.Permissions @using Ombi.UI.Helpers @using Ombi.UI.Models.Admin @using Ombi.UI.Resources @inherits Nancy.ViewEngines.Razor.NancyRazorViewBase @{ var baseUrl = Html.GetBaseUrl(); var formAction = string.Empty; var isAdmin = Html.HasAnyPermission(true, Permissions.Administrator, Permissions.ManageRequests); if (!string.IsNullOrEmpty(baseUrl.ToHtmlString())) { formAction = "/" + baseUrl.ToHtmlString(); } var sortText = EnumHelper.GetDisplayDescription((SortOptions) Model.CustomizationSettings.DefaultSort); var filterText = EnumHelper.GetDisplayDescription((FilterOptions) Model.CustomizationSettings.DefaultFilter); var defaultFilter = EnumHelper.GetDisplayValue((FilterOptions) Model.CustomizationSettings.DefaultFilter); var defaultSort = EnumHelper.GetDisplayValue((SortOptions) Model.CustomizationSettings.DefaultSort); }

@UI.Requests_Title

@UI.Requests_Paragraph



@if (isAdmin) { @if (Model.PlexRequestSettings.SearchForMovies) { } @if (Model.PlexRequestSettings.SearchForTvShows) { } @if (Model.PlexRequestSettings.SearchForMusic) { } }
@if (Model.PlexRequestSettings.SearchForMovies) {


} @if (Model.PlexRequestSettings.SearchForTvShows) {


} @if (Model.PlexRequestSettings.SearchForMusic) {


}
@Html.LoadRequestAssets()