{# Copyright (C) 2023 CERN. 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 %}