@model Nop.Web.Models.Customer.CustomerNavigationModel
           
@using Nop.Web.Models.Customer

<div class="block block-account-navigation">
    <div class="title">
        @T("Account.Navigation")
    </div>
    <div class="clear">
    </div>
    <div class="listbox">
        <ul>
            @if (!Model.HideInfo)
            {
                <li><a href="@Url.Action("info", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.Info)
                                                                             {<text>active</text>}
                                                                             else
                                                                             {<text>inactive</text>}">@T("Account.CustomerInfo")</a></li>
            }
            @if (!Model.HideAddresses)
            {
                <li><a href="@Url.Action("addresses", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.Addresses)
                                                                                  {<text>active</text>}
                                                                                  else
                                                                                  {<text>inactive</text>}">@T("Account.CustomerAddresses")</a></li>
            }
            @if (!Model.HideOrders)
            { 
                <li><a href="@Url.Action("orders", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.Orders)
                                                                               {<text>active</text>}
                                                                               else
                                                                               {<text>inactive</text>}">@T("Account.CustomerOrders")</a></li>
            }
            @if (!Model.HideReturnRequests)
            { 
                <li><a href="@Url.Action("returnrequests", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.ReturnRequests)
                                                                                       {<text>active</text>}
                                                                                       else
                                                                                       {<text>inactive</text>}">@T("Account.CustomerReturnRequests")</a></li>
            }
            @if (!Model.HideDownloadableProducts)
            { 
                <li><a href="@Url.Action("downloadableproducts", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.DownloadableProducts)
                                                                                     {<text>active</text>}
                                                                                     else
                                                                                     {<text>inactive</text>}">@T("Account.DownloadableProducts")</a></li>
            }
            @if (!Model.HideRewardPoints)
            { 
                <li><a href="@Url.Action("rewardpoints", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.RewardPoints)
                                                                             {<text>active</text>}
                                                                             else
                                                                             {<text>inactive</text>}">@T("Account.RewardPoints")</a></li>
            }
            @if (!Model.HideChangePassword)
            { 
                <li><a href="@Url.Action("changepassword", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.ChangePassword)
                                                                               {<text>active</text>}
                                                                               else
                                                                               {<text>inactive</text>}">@T("Account.ChangePassword")</a></li>
            }
            @if (!Model.HideAvatar)
            { 
                <li><a href="@Url.Action("avatar", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.Avatar)
                                                                       {<text>active</text>}
                                                                       else
                                                                       {<text>inactive</text>}">@T("Account.Avatar")</a></li> 
            }
            @if (!Model.HideForumSubscriptions)
            { 
                <li><a href="@Url.Action("forumsubscriptions", "customer")" class="@if (Model.SelectedTab == CustomerNavigationEnum.ForumSubscriptions)
                                                                                   {<text>active</text>}
                                                                                   else
                                                                                   {<text>inactive</text>}">@T("Account.ForumSubscriptions")</a></li>
            }
        </ul>
    </div>
</div>
