{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2015-2020 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- extends config.RECORDS_UI_BASE_TEMPLATE %} {%- macro record_content(data) %} {% for key, value in data.items() recursive %}
{% if value is mapping %} {{ key }} {% elif value is iterable and value is not string %} {{ key }}:
    {% for item in value %}
  1. {% if item is mapping %}
      {{ record_content(item) }}
    {% else %} {{ item }} {% endif %}
  2. {% endfor %}
{% else %} {{ key }}: {{ value }} {% endif %}
{% endfor %} {%- endmacro %} {%- block page_body %}
{%- block record_title %}

{{ pid.pid_type }} {{pid.pid_value}}

{%- endblock %} {%- block record_body %} {% if record %}
{{ record_content(record) }}
{% endif %} {%- endblock %}
{%- endblock %}