<commit_before>﻿@using ToolkitPath
@using Orchard.Environment.Configuration;
@{
    var isLoggedIn = Request.IsAuthenticated && User.Identity is System.Security.Principal.GenericIdentity;

    var appConfigAccessor = new AppConfigurationAccessor();
    var basePath = appConfigAccessor.GetConfiguration("ToolkitBasePath");
    var basePathHome = appConfigAccessor.GetConfiguration("ToolkitBasePathHome");
}
<ul class="nav navbar-nav">
    <li id="nav-home"><a href="/">Home</a></li>
    <li>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Knowledge Center<b class="caret"></b></a>
        <ul class="dropdown-menu multi-level">
            <li><a href=@string.Format("{0}{1}", basePathHome, "/knowledge-center")>Overview</a></li>
            <li><a href="@string.Format("{0}{1}", basePath, "/repository")">Resources/Documents</a></li>
            <li class="menu-item dropdown dropdown-submenu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>Topics</b></a>
                <ul class="dropdown-menu multi-level">
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/bim-training-videos")">BIM Training Videos</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/bim-for-the-mhs")">Building Information Modeling (BIM)</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/contracting-dha-facilities-division")">Contracting DHA Facilities Division</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/DMLSS-FM-Video-Training")">Defense Medical Logistics Standard Support - Training Videos</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/energy-management-sustainability-in-the-mhs")">Energy Management & Sustainability in the MHS</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/facility-life-cycle-management-flcm")">Facility Life Cycle Management (FLCM)</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/facility-management-operations-fm-ops-landing-page")">Facility Management Operations (FM Ops) Landing Page</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/mhs-builder-implementation")">MHS BUILDER Implementation</a></li>
                </ul>
            </li>
        </ul>
    <li>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Tools<b class="caret"></b></a>
        <ul class="dropdown-menu multi-level">
            <li class="menu-item dropdown dropdown-submenu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>World Class Checklist</b></a>
                <ul class="dropdown-menu multi-level">
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist")" class="dropdown-toggle" role="button" aria-expanded="true">Checklist Landing</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/checklist/viewall")">Browse Checklists</a></li>
                    <li role="presentation" class="dropdown-header">Reports</li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist/Strategy")">Strategy Info</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist/StrategyReport")">Strategy Report</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist/ChecklistPDF")">Checklist Printout</a></li>
                </ul>
            </li>

            @*@if (isLoggedIn)
            {*@
                <li class="menu-item dropdown dropdown-submenu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>CIDM</b></a>
                    <ul class="dropdown-menu">
                        <li><a href="@string.Format("{0}{1}", basePath, "/CIDM")" class="dropdown-toggle" role="button" aria-expanded="true">CIDM Landing</a>

                        <li><a href="@string.Format("{0}{1}", basePath, "/CIDM/Events")">CIDM Events</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/CIDM/Artifacts")">Artifact Designer</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/CIDM/History")">CIDM Archive</a></li>
                    </ul>
                </li>

                <li class="menu-item dropdown dropdown-submenu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>Project Tool</b></a>
                    <ul class="dropdown-menu">
                        <li><a href="@string.Format("{0}{1}", basePath, "/Project")" class="dropdown-toggle" role="button" aria-expanded="false">Projects Landing</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/project/viewall")">View Projects</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/Project/CreateFacility")">Create Facility Project</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/Project/CreateContract")">Create Contract Project</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/ProjectTeam/ByTeam")">Manage Project Teams</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/ProjectTeam/ByUser")">Manage User Teams</a></li>
                        <li><a href="@string.Format("{0}{1}", basePath, "/Repository/Projects")">View/Edit Documents</a></li>
                    </ul>
                </li>
            @*}*@
        </ul>
    </li>
    <li><a href="@string.Format(" {0}{1}", basePathHome, "/mhs-facilities-analytics-dashboard" )">Analytics</a></li>
    <li>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Help<b class="caret"></b></a>
        <ul class="dropdown-menu multi-level">
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/frequently-asked-questions")">Frequently Asked Questions</a></li>
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/website-notices-policies-disclaimers")">Website Notices, Policies &amp; Disclaimers</a></li>
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/how-to-use-this-site")">How To Use This Site</a></li>
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/support-availability")">Support Availability</a></li>
        </ul>
    </li>
    <li><a href="@string.Format("{0}{1}", basePath, "/Support/Contact")">Contact Support</a></li>
</ul>

<ul class="nav navbar-nav navbar-right">
    @if (isLoggedIn)
    {
        var Claims = new List
        <System.Security.Claims.Claim>
            ((User.Identity as System.Security.Principal.GenericIdentity).Claims);
        if (Claims[2].Value == "True")
        {
            <li id="ticket-counter" target="@string.Format("{0}{1}", basePath, "/Support/TicketSummaryJsonp")">
                <a href="@Html.ToolkitPath("/Support/Tickets")">
                    <i class="fa fa-fw fa-envelope"></i>
                    <span class="badge" data-bind="text: newMessages"></span>
                </a>
            </li>
        }
        <li>
            <a href="@string.Format("{0}{1}", basePath, "/Account")">@(Claims[1].Value)</a>
        </li>

        if (Claims[2].Value == "True")
        {
            <li>
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin<b class=""></b></a>
                <ul class="dropdown-menu multi-level">
                    <li><a href="@string.Format("{0}{1}", basePath, "/Admin")">View Users</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Admin/Compose")">Compose Email</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Admin/SupportEmail")">Update Email</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Admin/Reindex")">Rebuild Document Index</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Lookup/OrgType")">Lookups</a></li>
                    @if (Claims[3].Value == "True")
                    {
                        <li><a href="@string.Format("{0}{1}", basePathHome, "/admin")">CMS Settings</a></li>
                    }
                    <li class="menu-item dropdown dropdown-submenu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>Reports</b></a>
                        <ul class="dropdown-menu multi-level">
                            <li role="separator" class="divider"><b>ADMIN REPORTS</b></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Report/Activity")">Activity Report</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Report/Errors")">Error Report</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Report/Email")">Email Report</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Support/Tickets")">Support Ticket Report&nbsp;</a></li>
                            <li role="separator" class="divider"><b>KNOWLEDGE CENTER REPORTS REPORTS</b></li>

                        </ul>
                    </li>
                </ul>
            </li>
        }
        else if (Claims[3].Value == "True")
        {
            <li><a href="@string.Format("{0}{1}", basePathHome, "/admin")">CMS Settings</a></li>
        }

        <li class="btn btn-primary btn-xs">
            <a href="@string.Format("{0}{1}", basePathHome, "/Users/Account/Logoff")">Log Off</a>
        </li>
    }
    else
    {
        <li class="btn btn-primary btn-xs">
            <a href="@string.Format("{0}{1}", basePathHome, "/Users/Account/LogOn")">Sign In</a>
        </li>
        <li class="btn btn-register btn-xs">
            <a href="@string.Format("{0}{1}", basePathHome, "/registration-instructions")">Request Access</a>
        </li>
    }
</ul><commit_msg>WCTK-1717 Updated navigation menu.<commit_after>﻿@using ToolkitPath
@using Orchard.Environment.Configuration;
@{
    var isLoggedIn = Request.IsAuthenticated && User.Identity is System.Security.Principal.GenericIdentity;

    var appConfigAccessor = new AppConfigurationAccessor();
    var basePath = appConfigAccessor.GetConfiguration("ToolkitBasePath");
    var basePathHome = appConfigAccessor.GetConfiguration("ToolkitBasePathHome");
}
<ul class="nav navbar-nav">
    <li id="nav-home"><a href="/">Home</a></li>
    <li>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Knowledge Center<b class="caret"></b></a>
        <ul class="dropdown-menu multi-level">
            <li><a href=@string.Format("{0}{1}", basePathHome, "/knowledge-center")>Overview</a></li>
            <li><a href="@string.Format("{0}{1}", basePath, "/repository")">Resources/Documents</a></li>
            <li class="menu-item dropdown dropdown-submenu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>Topics</b></a>
                <ul class="dropdown-menu multi-level">
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/bim-training-videos")">BIM Training Videos</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/bim-for-the-mhs")">Building Information Modeling (BIM)</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/contracting-dha-facilities-division")">Contracting DHA Facilities Division</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/DMLSS-FM-Video-Training")">Defense Medical Logistics Standard Support - Training Videos</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/energy-management-sustainability-in-the-mhs")">Energy Management & Sustainability in the MHS</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/facility-life-cycle-management-flcm")">Facility Life Cycle Management (FLCM)</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/facility-management-operations-fm-ops-landing-page")">Facility Management Operations (FM Ops) Landing Page</a></li>
                    <li><a href="@string.Format("{0}{1}", basePathHome, "/mhs-builder-implementation")">MHS BUILDER Implementation</a></li>
                </ul>
            </li>
        </ul>
    </li>
    <li>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Tools<b class="caret"></b></a>
        <ul class="dropdown-menu multi-level">
            <li class="menu-item dropdown dropdown-submenu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>World Class Checklist</b></a>
                <ul class="dropdown-menu multi-level">
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist")" class="dropdown-toggle" role="button" aria-expanded="true">Checklist Landing</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/checklist/viewall")">Browse Checklists</a></li>
                    <li role="presentation" class="dropdown-header">Reports</li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist/Strategy")">Strategy Info</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist/StrategyReport")">Strategy Report</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Checklist/ChecklistPDF")">Checklist Printout</a></li>
                </ul>
            </li>

            <li class="menu-item dropdown dropdown-submenu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>CIDM</b></a>
                <ul class="dropdown-menu">
                    <li><a href="@string.Format("{0}{1}", basePath, "/CIDM")" class="dropdown-toggle" role="button" aria-expanded="true">CIDM Landing</a>
                    <li><a href="@string.Format("{0}{1}", basePath, "/CIDM/Events")">CIDM Events</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/CIDM/Artifacts")">Artifact Designer</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/CIDM/History")">CIDM Archive</a></li>
                </ul>
            </li>

            <li class="menu-item dropdown dropdown-submenu">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><b>Project Tool</b></a>
                <ul class="dropdown-menu">
                    <li><a href="@string.Format("{0}{1}", basePath, "/Project")" class="dropdown-toggle" role="button" aria-expanded="false">Projects Landing</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/project/viewall")">View Projects</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Project/CreateFacility")">Create Facility Project</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Project/CreateContract")">Create Contract Project</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/ProjectTeam/ByTeam")">Manage Teams by Project</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/ProjectTeam/ByUser")">Manage Teams by User</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Repository/Projects")">View/Edit Documents</a></li>
                </ul>
            </li>
        </ul>
    </li>

    <li><a href="@string.Format(" {0}{1}", basePathHome, "/mhs-facilities-analytics-dashboard" )">Analytics</a></li>

    <li>
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Help<b class="caret"></b></a>
        <ul class="dropdown-menu multi-level">
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/frequently-asked-questions")">Frequently Asked Questions</a></li>
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/website-notices-policies-disclaimers")">Website Notices, Policies &amp; Disclaimers</a></li>
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/how-to-use-this-site")">How To Use This Site</a></li>
            <li><a href="@string.Format(" {0}{1}", basePathHome, "/support-availability")">Support Availability</a></li>
            @if (isLoggedIn)
            {
                <li><a href="@string.Format(" {0}{1}", basePath, "/MySupport/Tickets")">My Open Issues</a></li>
            }

        </ul>
    </li>

    <li><a href="@string.Format("{0}{1}", basePath, "/Support/Contact")">Contact Support</a></li>
</ul>

<ul class="nav navbar-nav navbar-right">
    @if (isLoggedIn)
    {
        var Claims = new List
        <System.Security.Claims.Claim>
            ((User.Identity as System.Security.Principal.GenericIdentity).Claims);
        if (Claims[2].Value == "True")
        {
            <li id="ticket-counter" target="@string.Format("{0}{1}", basePath, "/Support/TicketSummaryJsonp")">
                <a href="@Html.ToolkitPath("/Support/Tickets")">
                    <i class="fa fa-fw fa-envelope"></i>
                    <span class="badge" data-bind="text: newMessages"></span>
                </a>
            </li>
        }
        <li>
            <a href="@string.Format("{0}{1}", basePath, "/Account")">@(Claims[1].Value)</a>
        </li>

        if (Claims[2].Value == "True")
        {
            <li>
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin<b class=""></b></a>
                <ul class="dropdown-menu multi-level">
                    <li><a href="@string.Format("{0}{1}", basePath, "/Admin")">View Users</a></li>

                    <li class="dropdown-submenu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Support Email</a>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <li><a href="@string.Format("{0}{1}", basePath, "/Admin/Compose")">Compose Email</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Admin/SupportEmail")">Update System Email</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/CannedResponse/Index")">Canned Responses</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Support/Tickets")">Support System Mailbox</a></li>
                        </ul>
                    </li>

                    <li><a href="@string.Format("{0}{1}", basePath, "/Admin/Reindex")">Rebuild Document Index</a></li>
                    <li><a href="@string.Format("{0}{1}", basePath, "/Lookup/OrgType")">Lookups</a></li>
                    @if (Claims[3].Value == "True")
                    {
                        <li><a href="@string.Format("{0}{1}", basePathHome, "/admin")">CMS Administrator</a></li>
                    }
                    <li class="dropdown-submenu">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Reports</a>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <li><a href="@string.Format("{0}{1}", basePath, "/Report/Activity")">Activity Report</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Report/Errors")">Error Report</a></li>
                            <li><a href="@string.Format("{0}{1}", basePath, "/Report/Email")">Email Report</a></li>
                            <li>@Html.ActionLink("Notification Report", "FollowNotifyEmail", "Report", new { area = "" }, new { })</li>
                        </ul>
                    </li>
                </ul>
            </li>
        }
        else if (Claims[3].Value == "True")
        {
            <li><a href="@string.Format("{0}{1}", basePathHome, "/admin")">CMS Aministrator</a></li>
        }

        <li class="btn btn-primary btn-xs">
            <a href="@string.Format("{0}{1}", basePathHome, "/Users/Account/Logoff")">Log Off</a>
        </li>
    }
    else
    {
        <li class="btn btn-primary btn-xs">
            <a href="@string.Format("{0}{1}", basePathHome, "/Users/Account/LogOn")">Sign In</a>
        </li>
        <li class="btn btn-register btn-xs">
            <a href="@string.Format("{0}{1}", basePathHome, "/registration-instructions")">Request Access</a>
        </li>
    }
</ul>
{'fraction_non_alphanumeric': 0.2091693369484841, 'fraction_numerical': 0.010352477199901405, 'mean_word_length': 2.4128532974427994, 'pattern_counts': {'":': 0, '<': 580, '<?xml version=': 0, '>': 580, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4436731', 'n_tokens_mistral': 6358, 'n_tokens_neox': 6016, 'n_words': 1018}