
@model EzeScanWebApps.Models.FAA.FAAOverviewModel
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="panel panel-default">
    <div class="panel-heading">There is currently @Model.ApprovalOverviewList.Count folders containing pending approvals.</div>
    <div class="table-responsive">
        <table class="table table-striped">

            <tr>
                <th>Folder</th>
                <th>Count</th>
                <th>Oldest Date Created</th>
                <th>Action</th>
            </tr>

            @foreach (var item in Model.ApprovalOverviewList)
            {
                <tr>
                    <td><a href="@item.FolderViewUrl">@item.FolderName</a></td>
                    <td>@item.FolderCount</td>
                    <td>@item.OldestItemDate</td>
                    <td>
                        <a class="btn btn-primary" href="@item.FolderViewUrl"><span class="glyphicon glyphicon-file"></span> @LanguageLibrary.Properties.Resources.FAA_List_View_Button</a>
                    </td>

                </tr>
            }

        </table>
    </div>
</div>



