<%@ Page Language="C#" MasterPageFile="~/2ColMaster.Master" AutoEventWireup="true" CodeBehind="Reports.aspx.cs" Inherits="ProcessDefinition.Reports" Title="Reports" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentMain" runat="server">
    <h2>Reports</h2>
    <dp:ReportList ID="reports" runat="server" ReportPageUrl="Report.aspx" NavigateFormatString="Report/{0}" AddReportClasses="true" SubDirectory="ProcessLibrary\Reports" />
    <h2>Reviews</h2>
    <dp:ReportList ID="reviews" runat="server" ReportPageUrl="Report.aspx" NavigateFormatString="Review/{0}" AddReportClasses="true" SubDirectory="ProcessLibrary\Reviews" />

    <asp:Panel ID="pnlRepositoryReports" runat="server" Visible="false">
        <h2><%=pd.R.RepositoryName %> Reports</h2>
        <dp:ReportList ID="repositoryReports" runat="server" ReportPageUrl="Report.aspx" NavigateFormatString="RepositoryReport/{0}" AddReportClasses="true" />
    </asp:Panel>

        <asp:Panel ID="pnlRepositoryReviews" runat="server" Visible="false">
        <h2><%=pd.R.RepositoryName %> Reviews</h2>
        <dp:ReportList ID="repositoryReviews" runat="server" ReportPageUrl="Report.aspx" NavigateFormatString="RepositoryReview/{0}" AddReportClasses="true" />
    </asp:Panel>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentOptions" runat="server">
    <ul class='ui-widget-content'>
        <li class="btn"><span class="ui-icon ui-icon-arrowreturnthick-1-w"></span><a href="..">Back to library</a></li>
    </ul>
</asp:Content>
