diff --git a/templates/variants/univ-avignon/includes/user-info-user-name.html b/templates/variants/univ-avignon/includes/user-info-user-name.html index f0a481b9..187ad882 100644 --- a/templates/variants/univ-avignon/includes/user-info-user-name.html +++ b/templates/variants/univ-avignon/includes/user-info-user-name.html @@ -1,9 +1 @@ -{% if request.session.mellon_session %} - {% with preferred_username=request.session.mellon_session.preferred_username.0 %} - {{ user.first_name }} {% firstof preferred_username user.last_name %} - {% endwith %} -{% elif user.attributes %} - {{ user.first_name }} {% firstof user.attributes.preferred_username user.last_name %} -{% else %} - {{ user.get_full_name }} -{% endif %} \ No newline at end of file +{{ user.first_name }} {% firstof user.attributes.preferred_username user.attributes.last_name user.last_name %} \ No newline at end of file