@using System.Linq
@using Ombi.Core.Models
@using Ombi.Helpers
@using Ombi.Helpers.Permissions
@using Ombi.UI.Helpers
@{
var baseUrl = Html.GetBaseUrl();
var formAction = string.Empty;
if (!string.IsNullOrEmpty(baseUrl.ToHtmlString()))
{
formAction = "/" + baseUrl.ToHtmlString();
}
var isAdmin = Html.HasAnyPermission(true, Permissions.Administrator, Permissions.ManageRequests);
}
Details
Issues For "@Model.Title"
@if (isAdmin)
{
@if (Model.IssueStatus == IssueStatus.PendingIssue)
{
}
@if (Model.IssueStatus == IssueStatus.ResolvedIssue)
{
}
}
@foreach (var issue in Model.Issues)
{
Type: @StringHelper.ToCamelCaseWords(issue.Issue.ToString())
User Reported: @issue.UserReported
User Note: @issue.UserNote
Admin Note: @issue.AdminNote
@if (isAdmin)
{
}
}
@Html.LoadIssueDetailsAssets()