Removed PdfViewController, HtmlViewRenderer and FakeView to be replaced with ViewEngineResult Render method
Added HttpException class for missing HttpException for net8 Wrapped HttpContext.Session, GetJsonResult, IsAjaxRequest and GetUserIdentityName in controllers for net8 Added AuthenticationService to test Fab2ApprovalMKLink code for net8 Compile conditionally flags to debug in dotnet core
This commit is contained in:
@ -1465,7 +1465,7 @@
|
||||
Additional Approvers
|
||||
</button>
|
||||
}
|
||||
else if ((((bool)Session[GlobalVars.IS_ADMIN] && (Request.IsAuthenticated))) && Model.ClosedDate == null)
|
||||
else if (((GlobalVars.IsAdmin(Session) && (Request.IsAuthenticated))) && Model.ClosedDate == null)
|
||||
{
|
||||
<button class="k-textbox" data-toggle="modal" id="additionalApprovers">
|
||||
Additional Approvers
|
||||
@ -1475,7 +1475,7 @@
|
||||
</div>
|
||||
<div class="panel-body bg-warning">
|
||||
<div class="col-sm-offset-0">
|
||||
@if ((bool)Session[GlobalVars.IS_ADMIN] && (Request.IsAuthenticated))
|
||||
@if (GlobalVars.IsAdmin(Session) && (Request.IsAuthenticated))
|
||||
{
|
||||
@(Html.Kendo().Grid<Fab2ApprovalSystem.ViewModels.ApproversListViewModel>()
|
||||
.Name("ApproversList")
|
||||
@ -2180,7 +2180,7 @@
|
||||
var currentD5D6AttachmentLinks;
|
||||
var currentD7AttachmentLinks;
|
||||
var currentRejectingSection = '';
|
||||
var currentUserId = @((int)Session[GlobalVars.SESSION_USERID])
|
||||
var currentUserId = @(GlobalVars.GetUserId(Session))
|
||||
var currentRequestor = @(Model.RequestorID);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user