@using System.Web.Mvc.Html @using Pilotfish.Afx.ComponentModel @using Pilotfish.Afx.Security @using Pilotfish.Afx.Mvc @using System.Linq; @using Neo.Legitimate.Common; @{ ViewBag.Title = "Applications"; Layout = "Console.cshtml"; } @{ var userRoles = (Profile != null && ((Pilotfish.Afx.Security.UserProfile)Profile).Roles != null) ? ((Pilotfish.Afx.Security.UserProfile)Profile).Roles.ToList() : null; var userSecurables = (Profile != null && ((Pilotfish.Afx.Security.UserProfile)Profile).Securables != null) ? ((Pilotfish.Afx.Security.UserProfile)Profile).Securables.ToList() : null; } @Html.Partial("Scripts/Applications-Init") @Html.Partial("Scripts/Applications-Events")
| Application Number | Application Type | Member | Cellphone Number | Has Objections? | Decision | |
|---|---|---|---|---|---|---|
| @if (SecurityHelper.UserHasAccessToSecurable(userSecurables, Securable.ApplicationsModule_Adjudication_Console_PrintDecisionLetter)) { Print Letter } @if (SecurityHelper.UserHasAccessToSecurable(userSecurables, Securable.ApplicationsModule_Adjudication_Console_ReverseDecision)) { | Reverse Decision } @if (SecurityHelper.UserHasAccessToSecurable(userSecurables, Securable.ApplicationsModule_Adjudication_Console_RemoveApplication)) { Remove Application } |