{% load i18n %} {% comment %} — every identifier the record carries, the team's own ID and its portal ID, as a list with each label above its value. DOIs and IGSNs link to doi.org. Attributes: identifiers – [{type, value, link}]; `link` is set for DOIs and IGSNs portal_id – the record's portal ID, with a copy button permalink – the record's absolute permalink (the `{% permalink record as permalink %}` tag makes it); shown beneath the portal ID with a button that copies the whole link, and left out when not given local_id – the team's own ID for the record, if it has one class – extra classes on the card {% endcomment %} {% comment %} Each label sits above its value, so a long value has the card's whole width. A link is cut short with an ellipsis rather than wrapped, and its title carries the whole address. {% endcomment %}
{% for identifier in identifiers %}
{{ identifier.type }}
{% endfor %} {% if local_id %}
{% translate "Local ID" %}
{{ local_id }}
{% endif %} {% if portal_id %}
{% translate "Portal ID" %}
{{ portal_id }}
{% endif %} {% if permalink %}
{% translate "Permalink" %}
{{ permalink }}
{% endif %}