Skip to content

Commit

Permalink
Making login-status consistent with sso app (#382)
Browse files Browse the repository at this point in the history
* Update login-status to reflect changes in sso app

* account_register -> account_signup

Updating URL as per BE change
  • Loading branch information
nicklee authored and ababic committed Jul 1, 2022
1 parent 4b02d2d commit 5b62fd0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/includes/login-status.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div class="login-status" role="region" aria-labelledby="authentication_link">
{% if request.user.is_authenticated %}
<a href="{% url 'account_logout' %}" class="login-status__link" id="authentication_link">Sign out</a>
<a href="https://tna-account-management-poc.torchbox.dev/" class="login-status__link">My account</a>
<a href="{% url 'account_logout' %}" class="login-status__link" id="authentication_link">Logout</a>
{% else %}
<a href="{% url 'account_login' %}" class="login-status__link" id="authentication_link">Sign in</a>
<a href="{% url 'account_login' %}" class="login-status__link" id="authentication_link">Login</a>
<a href="{% url 'account_signup' %}" class="login-status__link">Register</a>
{% endif %}
</div>

0 comments on commit 5b62fd0

Please sign in to comment.