{# Copyright (C) 2023 CERN. Copyright (C) 2024 KTH Royal Institute of Technology. Invenio RDM Records is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. -#} {% from "invenio_accounts/_macros.html" import render_field, form_errors %}
{%- if current_user.is_anonymous %} {% set email = None %} {% set full_name = None %}

{{ _("You are currently not logged in") }}. {{ _("Do you have an account?") }} {{ _("Log in here") }}

{% else %} {% set email = current_user.email %} {% set full_name = current_user.user_profile.full_name or "" %}

{{ _("You are logged in as") }}

{{ full_name }}

{{ _("Not you?") }} {{ _("Log out") }} {{ _("to switch account.") }}

{% endif %}
{%- if current_user.is_anonymous %}
{% endif %}
{%- block javascript %} {{ webpack['invenio-app-rdm-landing-page-access-form.js'] }} {%-endblock %}