{# # This file is part of Zenodo. # Copyright (C) 2017 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 config.RECORDS_UI_BASE_TEMPLATE %} {% from "invenio_userprofiles/settings/_macros.html" import render_field %} {%- block page_body %}
Danger Zone

Delete spam content

User
  • ID: {{user.id}}
  • Email: {{user.email}}
  • Active?: {{user.active}}
  • Last login: {{user.last_login_at}}
  • Current login: {{user.current_login_at}}
  • Last login IP: {{user.last_login_ip}}
  • Current login IP: {{user.current_login_ip}}
  • Login count: {{user.login_count}}
Communities
User has {{ communities.count() }} communities. {%- for c in communities %} {%- endfor %}
ID Title Description Deleted when?
{{c.id}} {{c.title[:50]}} {{c.description[:100]}} {{c.deleted_at}}
Records
User has {{ rec_count }} records indexed in elasticsearch. Full record search result
Records sample:
{%- for rec in records %} {%- endfor %}
RECID DOI Title Description
{{rec['recid']}} {{rec['doi']}} {{rec['title']}} {{rec['description'][:100]}}
Delete options
{{ form.csrf_token }}
{{ render_field(form.remove_all_communities) }}
{{ render_field(form.remove_all_records) }}
{{ render_field(form.deactivate_user) }}
{%- endblock page_body %}