diff --git a/hypha/public/utils/templates/utils/includes/login_button.html b/hypha/public/utils/templates/utils/includes/login_button.html index 2b839351235b1a979d2044be54deda3a5a8360b7..703c7cb96ba06edb24dd0383f9839296a51dae58 100644 --- a/hypha/public/utils/templates/utils/includes/login_button.html +++ b/hypha/public/utils/templates/utils/includes/login_button.html @@ -1,4 +1,9 @@ +{% load i18n %} <a href="{{ APPLY_SITE.root_url }}{% url 'users_public:login' %}" class="button button--transparent button--contains-icons {{ class }}"> <svg class="icon icon--person"><use xlink:href="#person-icon"></use></svg> + {% if user.is_authenticated %} My {{ ORG_SHORT_NAME }} + {% else %} + {% trans "Login" %} + {% endif %} </a>