@using System.Linq @using PlexRequests.Core.Models @using PlexRequests.Helpers @using PlexRequests.Helpers.Permissions @using PlexRequests.UI.Helpers @{ var baseUrl = Html.GetBaseUrl(); var formAction = string.Empty; if (!string.IsNullOrEmpty(baseUrl.ToHtmlString())) { formAction = "/" + baseUrl.ToHtmlString(); } var isAdmin = Html.HasAnyPermission((int)Permissions.Administrator) || Html.HasAnyPermission((int)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()