NET8
This commit is contained in:
@ -144,7 +144,7 @@
|
||||
</div>
|
||||
<div class="col-sm-9">
|
||||
@Html.TextBoxFor(model => model.OwnerName, new { id = "txtOwner", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
|
||||
@if (Session[GlobalVars.IS_ADMIN] != null)
|
||||
@if (GlobalVars.IsAdminValueNotNull(Session))
|
||||
{
|
||||
<a href="javascript:undefined" id="lnkReassignOwner" class="linkbutton edit" title="Re-assign Owner"></a>
|
||||
}
|
||||
@ -200,7 +200,7 @@
|
||||
<label class="control-label pull-right">Export Control:</label>
|
||||
</div>
|
||||
<div class="col-sm-9">
|
||||
@if (ViewBag.IsOriginator == "true" || ((bool)Session[GlobalVars.IS_ADMIN]))
|
||||
@if (ViewBag.IsOriginator == "true" || (GlobalVars.IsAdmin(Session)))
|
||||
{
|
||||
@(Html.Kendo().DropDownList()
|
||||
.Name("IsITAR")
|
||||
|
@ -329,7 +329,7 @@
|
||||
columns.Bound(a => a.Gating).Width("50px");
|
||||
columns.Bound(a => a.DueDate).Width("50px").Format("{0:MM/dd/yy}").Width("150px");
|
||||
|
||||
if (Session[GlobalVars.IS_ADMIN] != null)
|
||||
if (GlobalVars.IsAdminValueNotNull(Session))
|
||||
columns.Command(c => c.Custom("Edit").Click("EditMeetingActionItem")).Width("70px");
|
||||
|
||||
//columns.Command(c => c.Destroy()).Width("40px");
|
||||
|
@ -128,7 +128,7 @@
|
||||
</div>
|
||||
<div class="col-sm-9">
|
||||
@Html.TextBoxFor(model => model.OwnerName, new { id = "txtOwner", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
|
||||
@if (Session[GlobalVars.IS_ADMIN] != null)
|
||||
@if (GlobalVars.IsAdminValueNotNull(Session))
|
||||
{
|
||||
<a href="javascript:undefined" id="lnkReassignOwner" class="linkbutton edit" title="Re-assign Owner"></a>
|
||||
}
|
||||
|
Reference in New Issue
Block a user