{# # This file is part of Zenodo. # Copyright (C) 2015, 2016, 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. -#} {%- from "invenio_pidrelations/macros/pid_versions.html" import pid_versions_dropdown -%}
{%- if record.publication_date %}
{{_('Publication date')}}:
{{ record.publication_date|from_isodate|dateformat(format='long') }}
{%- endif %} {%- if embargo_date is embargoed(record.accessright) %}
{{_('Embargoed')}}:
{% trans open_access_label=accessright_label('open'), embargo_date=embargo_date|dateformat('long') %}Files available as {{open_access_label}} after {{embargo_date}}.{% endtrans %}
{%- endif %} {%- if record.doi %} {%- set is_local_doi = "doi" in record and (record.doi|doi_locally_managed) %}
{{_('DOI')}}:
{{ record.doi }}
{%- endif %} {%- if record.imprint and record.imprint.isbn %}
{{_('ISBN')}}:
{{ record.imprint.isbn }}
{%- endif %} {%- if record.keywords %}
{{_('Keyword(s)')}}:
{%- for keyword in record.keywords %} {% set q = {"keywords": keyword}|make_query %} {{keyword}} {%- endfor %}
{%- endif %} {%- if record.subjects %}
{{_('Subject(s)')}}:
{%- for subject in record.subjects %} {%- set q = {"subject.term": subject.term}|make_query %} {%- set subject_url = subject.identifier|pid_url(scheme=subject.scheme) %} {%- endfor %}
{%- endif %} {% with i=record.get('imprint'), p=record.get('part_of') %} {%- if i and not p %}
{{_('Imprint')}}:
{{i.publisher}}{% if i.place %}, {{i.place}}{%- endif %}{% if i.isbn %} ({{i.isbn}}){%- endif %}.
{%- elif p and p.title %}
{{_('Published in')}}:
{{p.title}}{% if i.publisher %}, {{i.publisher}}{%- endif %}{% if i.place %}, {{i.place}}{%- endif %}{% if p.pages %}, pp. {{p.pages}}{%- endif %}{% if i.isbn %} ({{i.isbn}}){%- endif %}.
{%- endif %} {%- endwith %} {%- if record.journal %} {% with j=record.journal %} {% if j.title %}
{{_('Published in')}}:
{{j.title}}:{% if j.volume %} {{j.volume}}{% endif%}{% if j.year %} ({{j.year}}){% endif %}{% if j.number %} no. {{j.number}},{% endif %}{% if j.pages %} pp. {{j.pages}}{% endif %}.
{% endif %} {%- endwith %} {%- endif %} {%- if resolved_record.grants %}
{{_('Grants')}}:
{%- for group in resolved_record.grants|groupby('funder.name') %} {{group.grouper}}:
{%- endfor %}
{%- endif %} {%- if record.thesis and record.thesis.university %}
{{ _('Awarding University') }}:
{{record.thesis.university}}
{%- endif %} {%- if record.meeting %} {%- set m = record.meeting%} {%- set m_title = m|meeting_title %}
{{ _('Meeting') }}:
{%- if m.url %} {{m_title}} {%- else %} {{m_title}} {%- endif%} {%- if m.place %}, {{m.place}} {%- endif %} {%- if m.dates %}, {{m.dates}} {%- endif %} {% if m.session %}(Session {{m.session}} {% if m.session_part %}, Part {{m.session_part}}{%- endif %}){%- endif %}
{%- if m.url and not m_title %}
{{_('Conference website')}}
{%- endif %} {%- endif %} {%- for group in record.related_identifiers|groupby('relation') %} {%- if loop.first %}
{{ _('Related identifiers') }}:
{%- endif %}
{{group.grouper|relation_title}}:
{%- for related_id in group.list %} {%- set related_url = related_id.identifier|pid_url(scheme=related_id.scheme) %} {%- if related_url %} {{related_id.identifier}}{%- if not loop.last %}, {% endif %} {%- else %} {{related_id.identifier}} ({{related_id.scheme|upper}}){%- if not loop.last %}, {% endif %} {%- endif %} {%- endfor %}
{%- endfor %} {%- if record.alternate_identifiers %}
{{ _('Alternate identifiers') }}:
{%- for alt_id in record.alternate_identifiers %} {%- set alt_url = alt_id.identifier|pid_url(scheme=alt_id.scheme) %} {%- if alt_url %} {{alt_id.identifier}} {%- else %} {{alt_id.identifier}} ({{alt_id.scheme|upper}}) {%- endif %} {%- if not loop.last %}, {% endif %} {%- endfor %}
{%- endif %} {%- if all_accepted_comms %}
{{ _('Communities') }}:
{%- endif %} {%- if resolved_record.license %}
{{_('License (for files)')}}:
{{resolved_record.license.title}}
{%- endif %} {%- set userprofile = record.owner.id|userprofile if record.owner and record.owner.id else None %} {%- if userprofile %}
{{_('Uploaded by')}}:
{{ userprofile.displayname }} {%- if record.get('creation_date') %} {%- trans upload_date=record.get('creation_date')|from_isodatetime|dateformat('long') %} (on {{upload_date}}) {%- endtrans %} {%- endif %}
{% elif record.get('creation_date') %}
{{_('Uploaded on')}}:
{{ record.get('creation_date')|from_isodatetime|dateformat('long') }}
{%- endif %}