{# # This file is part of Zenodo. # Copyright (C) 2016 CERN. # # Zenodo is free software; you can redistribute it # and/or modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Zenodo is distributed in the hope that it will be # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Zenodo; if not, write to the # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, # MA 02111-1307, USA. # # In applying this license, CERN does not # waive the privileges and immunities granted to it by virtue of its status # as an Intergovernmental Organization or submit itself to any jurisdiction. -#} {%- extends "zenodo_records/record_detail.html" %} {% from "invenio_userprofiles/settings/_macros.html" import render_field %} {%- block page_body %}
Danger Zone

Delete record

Are you ABSOLUTELY sure?

This action CANNOT be undone! Deleting a record will permanently delete the associated files from disk.

Record and associated objects
    {% if owners %}
  • Owners
    {%- for owner in owners %} {%- endfor %}
    User ID Email Username Full Name
    {{owner.id}} {{owner.email}} {{owner.profile and owner.profile.username}} {{owner.profile and owner.profile.full_name}}
  • {% endif %}
  • UUID
    {{record.id}}, revision {{record.revision_id}} (created: {{record.created}}, updated: {{record.updated}})
  • Deposit UUID
    {{deposit.id}}, revision {{deposit.revision_id}} (created: {{deposit.created}}, updated: {{deposit.updated}})
  • Persistent identifiers
    {%- for p in pids %} {%- endfor %}
    PID Type PID Value Status
    {{p.pid_type}} {{p.pid_value}} {{p|pidstatus}}
  • Metadata
    {{record|tojson}}
  • Buckets
    {%- if record.files %} {%- for f in record.files %} {%- endfor %} {%- endif %} {%- if deposit.files %} {%- for f in deposit.files %} {%- endfor %} {%- endif %}
    Record bucket ({{record.files.bucket}})
    Object URI Size Checksum
    {{f.key}} {{f.file.uri}} {{f.file.size}} {{f.file.checksum}}
    Deposit bucket ({{deposit.files.bucket}})
    Object URI Size Checksum
    {{f.key}} {{f.file.uri}} {{f.file.size}} {{f.file.checksum}}
Delete options
{{form.csrf_token}} {{ render_field(form.standard_reason) }} {{ render_field(form.reason) }}
{{ render_field(form.remove_files) }}
{{ render_field(form.remove_sips) }}
{{ render_field(form.confirm) }}
{%- endblock page_body %}