Move Subscribe link to left of username in nav
This commit is contained in:
parent
efc7ee9284
commit
2235ea24a7
1 changed files with 7 additions and 7 deletions
|
|
@ -114,25 +114,25 @@
|
|||
<a class="cart-and-count" href="{{ request.route_url('shop_locations', shop_id=request.shop.id, _query={'next': request.url}) }}">Shop Locations</a>
|
||||
{% endif %}
|
||||
|
||||
{% if request.shop and request.shop.subscriptions_enabled and not request.is_saas_domain %}
|
||||
<a href="/subscribe" class="cart-and-count">Subscribe</a>
|
||||
{% endif %}
|
||||
|
||||
{% if request.user and request.user.authenticated %}
|
||||
|
||||
|
||||
{% if request.user.full_name %}
|
||||
<a href="/u/settings" class="user-display-name">{{ request.user.name }}</a>
|
||||
{% else %}
|
||||
<a href="/u/settings" class="user-display-name">My Account</a>
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
|
||||
{% else %}
|
||||
<a href="{{ request.route_url('join-or-log-in', _query={'next': request.url}) }}">My Account</a>
|
||||
{% endif %}
|
||||
|
||||
<a href="/cart" class="cart-and-count">🛒 Cart ${{ "{:,.2f}".format(request.active_cart.total) }} ({{ "{:,}".format(request.active_cart.count) }})</a>
|
||||
|
||||
{% if request.shop and request.shop.subscriptions_enabled and not request.is_saas_domain %}
|
||||
<a href="/subscribe" class="cart-and-count">Subscribe</a>
|
||||
{% endif %}
|
||||
|
||||
</section>
|
||||
|
||||
<!-- nav -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue