Changeset View
Changeset View
Standalone View
Standalone View
swh/deposit/templates/deposit/status.xml
<entry xmlns="http://www.w3.org/2005/Atom" | <entry xmlns="http://www.w3.org/2005/Atom" | ||||
xmlns:sword="http://purl.org/net/sword/" | xmlns:sword="http://purl.org/net/sword/" | ||||
xmlns:dcterms="http://purl.org/dc/terms/"> | xmlns:dcterms="http://purl.org/dc/terms/" | ||||
xmlns:sd="https://www.softwareheritage.org/schema/2018/deposit" | |||||
> | |||||
<sd:deposit_id>{{ deposit_id }}</sd:deposit_id> | |||||
<sd:deposit_status>{{ status }}</sd:deposit_status> | |||||
<sd:deposit_status_detail>{{ status_detail }}</sd:deposit_status_detail> | |||||
{% if swhid is not None %}<sd:deposit_swh_id>{{ swhid }}</sd:deposit_swh_id>{% endif %} | |||||
{% if swhid_context is not None %}<sd:deposit_swh_id_context>{{ swhid_context }}</sd:deposit_swh_id_context>{% endif %} | |||||
{% if external_id is not None %}<sd:deposit_external_id>{{ external_id }}</sd:deposit_external_id>{% endif %} | |||||
<!-- The following tags are deprecated and may be removed in the future, | |||||
as they do not belong in the http://www.w3.org/2005/Atom namespace. --> | |||||
<deposit_id>{{ deposit_id }}</deposit_id> | <deposit_id>{{ deposit_id }}</deposit_id> | ||||
<deposit_status>{{ status }}</deposit_status> | <deposit_status>{{ status }}</deposit_status> | ||||
<deposit_status_detail>{{ status_detail }}</deposit_status_detail> | <deposit_status_detail>{{ status_detail }}</deposit_status_detail> | ||||
{% if swhid is not None %}<deposit_swh_id>{{ swhid }}</deposit_swh_id>{% endif %} | {% if swhid is not None %}<deposit_swh_id>{{ swhid }}</deposit_swh_id>{% endif %} | ||||
{% if swhid_context is not None %}<deposit_swh_id_context>{{ swhid_context }}</deposit_swh_id_context>{% endif %} | {% if swhid_context is not None %}<deposit_swh_id_context>{{ swhid_context }}</deposit_swh_id_context>{% endif %} | ||||
{% if external_id is not None %}<deposit_external_id>{{ external_id }}</deposit_external_id>{% endif %} | {% if external_id is not None %}<deposit_external_id>{{ external_id }}</deposit_external_id>{% endif %} | ||||
</entry> | </entry> |