<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SleisLayout.Master" Inherits="System.Web.Mvc.ViewPage" %> <%-- Release Point Details --%> <% ViewData["Fields"] = Model.Fields; %>
<% SelectedFacilityView facility = ViewUtility.GetSelectedFacility(); %> <%:Html.ActionLink("Back", "List", "ReleasePoint", new { reportId = Model.Report==null ? 0 : Model.Report.Id, facilityId = facility.Id }, new { @class = "backButtonNoText argsHolder align-right" })%> <% if (Model.Report != null) { Html.RenderPartial("ReportStatus", Model.Report.Status); %>

<%:Model.Report.Number %> Emissions Report

<%} else { %>

Master Facility

<% } %>

Release Points

<%Html.RenderPartial("ReleasePoint/ViewDetails"); %>

> <% if (Model.CurrentReleasePoint.UsesFacilitySiteLocation) { %> Yes <% } else {%> No <%}%>

<% Html.RenderPartial("Location", Model.CurrentReleasePoint.Location!=null ? Model.CurrentReleasePoint.Location: new GeographicLocation()); %>
<%if (Model.CustomFields != null) { foreach (CustomFieldView customField in Model.CustomFields) { Html.RenderPartial("CustomField", customField); } } %>
<% if (Model.CurrentReleasePoint is AgencyReleasePoint && ((AgencyReleasePoint)Model.CurrentReleasePoint).IsMaster) { %>
<%Html.RenderPartial("Comments", ((AgencyReleasePoint)Model.CurrentReleasePoint).MasterRecordComments.ToList()); %>
<%/* %>
<%Html.RenderPartial("Identifiers", ((AgencyReleasePoint)Model.CurrentReleasePoint).Identifiers.ToList()); %>
<%*/ %> <%} %>
<%=Html.TogglerControl(Model.ToggleInfo)%>
<%Html.RenderPartial("FacilitySide"); %>

Current Record

<%= ViewUtility.LastEditedBy(Model.CurrentReleasePoint) %>

<%:Model.CurrentReleasePoint.Identifier%>

<%:Model.CurrentReleasePoint.Description %>