{# # This file is part of Invenio. # Copyright (C) 2013, 2014 CERN. # # Invenio 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. # # Invenio 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 Invenio; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. #} {% extends "page.html" %} {% block body %}
{%- if deposition.type.editable -%} {{ _('Edit') }}   {%- endif -%} {{ _('View') }}

{{ _('Preview') }}

{{ _('This is a preview of your upload. The public version is available on %(x_link)s. ' 'If you want to remove your upload, please contact %(x_contact)s', x_link='{url}'.format( url=url_for('record.metadata', recid=sip.metadata['recid'], _external=True) )|safe, x_contact='{email}'.format(email=config.CFG_SITE_SUPPORT_EMAIL)|safe) }}
{{format_record(recID=sip.metadata['recid'], xml_record=sip.package, of='hd')|safe}} {{format_record(recID=sip.metadata['recid'], xml_record=sip.package, of='hdinfo')|safe}}
{% include "deposit/myview.html" %}
{% endblock %}