diff --git a/Fab2ApprovalSystem/Views/Home/CorrectiveActionList.cshtml b/Fab2ApprovalSystem/Views/Home/CorrectiveActionList.cshtml index 39521bd..ce75e48 100644 --- a/Fab2ApprovalSystem/Views/Home/CorrectiveActionList.cshtml +++ b/Fab2ApprovalSystem/Views/Home/CorrectiveActionList.cshtml @@ -37,7 +37,8 @@ columns.Bound(l => l.PendingAIOwners).Title("Action Item Owners"); columns.Bound(l => l.D8DueDate).Format("{0:MM/dd/yy}"); columns.Bound(l => l.ClosedDate).Format("{0:MM/dd/yy}"); - columns.Template(t => { }).HeaderTemplate("").ClientTemplate(@"button delete"); + if ((bool)Session[GlobalVars.IS_ADMIN]) + columns.Template(t => { }).HeaderTemplate("").ClientTemplate(@"button delete"); })