<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" MasterPageFile="~/Views/Shared/SleisLayout.Master" %> <%-- Facility Users --%> <% UserView currentUser = ViewUtility.GetCurrentUser(); var selectedFac = ViewUtility.GetSelectedFacility(); %> <% UserView currentUser = ViewUtility.GetCurrentUser(); var selectedFac = ViewUtility.GetSelectedFacility(); %>
<%if (SessionUtility.CurrentUser.IsAgencyUser()) { %> <%:Html.ActionLink("Back", "Home", "Facility", new { facilityId = Model.Id }, new { @class = "backButtonNoText argsHolder align-right" })%> <%} else { %> <%:Html.ActionLink("Back", "Detail", "Facility", new { id = Model.Id }, new { @class = "backButtonNoText argsHolder align-right" })%> <%} %>

Facility Users

Name Email Roles Status Actions
<% if (SessionUtility.CurrentUser.IsAgencyUser() && SessionUtility.CurrentUser.IsAppAdmin) { %> Go

<%:Html.ActionLink("Add New User", "Add", "User", new{facilityId=selectedFac.Id, type=SleisUserTypeType.Facility.ToString()}, new{@class="addButton"}) %> <%} %>
<%Html.RenderPartial("FacilitySide"); %>