Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

Commit

Permalink
VDS-1152: Fix account navigation (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvishnyakov authored Mar 18, 2021
1 parent cafec4d commit 734150f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions assets/js/account/b4/account-manager.tpl.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@
<a class="nav-link text-dark text-condensed" ui-sref="orders.list">{{ 'customer.account.menu_label.orders' | t }}</a>
</li>
<li class="nav-item" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" href="{{ 'account#/profile/' | absolute_url }}">{{ 'customer.account.menu_label.profile' | t }}</a>
<a class="nav-link text-dark text-condensed" href="{{ 'account#/profile' | absolute_url }}">{{ 'customer.account.menu_label.profile' | t }}</a>
</li>
<li class="nav-item" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" href="{{ 'account#/addresses/' | absolute_url }}">{{ 'customer.account.menu_label.addresses' | t }}</a>
<a class="nav-link text-dark text-condensed" href="{{ 'account#/addresses' | absolute_url }}">{{ 'customer.account.menu_label.addresses' | t }}</a>
</li>
<li class="nav-item" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" href="{{ 'account#/changePassword/' | absolute_url }}">{{ 'customer.account.menu_label.change_password' | t }}</a>
<a class="nav-link text-dark text-condensed" href="{{ 'account#/changePassword' | absolute_url }}">{{ 'customer.account.menu_label.change_password' | t }}</a>
</li>
<li class="nav-item" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" href="{{ 'account#/lists/' | absolute_url }}">{{ 'customer.account.menu_label.wishlist' | t }}</a>
</li>
{% if shop.quotes_enabled %}
<li class="nav-item" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" href="{{ 'account#/quotes/' | absolute_url }}">{{ 'customer.account.menu_label.quotes' | t }}</a>
<a class="nav-link text-dark text-condensed" href="{{ 'account#/quotes' | absolute_url }}">{{ 'customer.account.menu_label.quotes' | t }}</a>
</li>
{% endif %}
<li class="nav-item" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" href="{{ 'account#/checkoutDefaults/' | absolute_url }}">Checkout Details</a>
<a class="nav-link text-dark text-condensed" href="{{ 'account#/checkoutDefaults' | absolute_url }}">Checkout Details</a>
</li>
</ul>
</div>
Expand All @@ -46,10 +46,10 @@
<div class="row">
<ul class="col vertical-menu nav flex-column">
<li class="nav-item" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" ui-sref="companyInfo">{{ 'customer.account.menu_label.company_info' | t }}</a>
<a class="nav-link text-dark text-condensed" href="{{ 'account#/companyInfo' | absolute_url }}">{{ 'customer.account.menu_label.company_info' | t }}</a>
</li>
<li class="nav-item" va-permission="storefront:user:view" ui-sref-active="border-left border-primary border-3 bg-gray-200 item-active">
<a class="nav-link text-dark text-condensed" ui-sref="members.list">{{ 'customer.account.menu_label.company_members' | t }}</a>
<a class="nav-link text-dark text-condensed" href="{{ 'account#/companyMembers/' | absolute_url }}">{{ 'customer.account.menu_label.company_members' | t }}</a>
</li>
</ul>
</div>
Expand Down

0 comments on commit 734150f

Please sign in to comment.