{# @description The record's facts in one panel: details, identifiers, funding and how a machine reaches it, each a section of label-and-value rows, with Delete last for whoever may. A row with no value shows a dash. #} {# @prop rows:list | description:"The details: [{label, text, url, record, icon, date, until, note, badge, badge_variant, warning}]." #} {# @prop edit:dict | description:"The editing pages the viewer may open, by the part each changes." #} {# @prop kind:text | description:"The word for the record's kind, named in the Delete line." #} {# @prop identifiers:list | description:"[{type, value, link}]." #} {# @prop portal_id:text | description:"The record's portal ID." #} {# @prop permalink:text | description:"Its permanent address." #} {# @prop local_id:text | description:"The team's own ID." #} {# @prop funding:list | description:"The awards. None leaves the section out." #} {# @prop can_manage:boolean | description:"The viewer is on the team. With no funding, it then says why it matters." #} {# @prop api_url:text | description:"The record's REST API address." #} {# @slot
Instrument
Bruker S8 Tiger
— Rows added to the details section. #} {% load i18n %}

{% translate "Details" %}

{% if edit.details %}
{% endif %}
{% for row in rows %}
{{ row.label }}
{% if row.record %} {{ row.record }} {% elif row.badge %} {{ row.badge }} {% elif row.date %} {{ row.date|date:"SHORT_DATE_FORMAT" }}{% if row.until %} – {{ row.until|date:"SHORT_DATE_FORMAT" }}{% endif %} {% elif row.url %} {{ row.text }} {% elif row.text %} {{ row.text }} {% else %} {% translate "Not recorded" %} {% endif %} {% if row.note %}{{ row.note }}{% endif %}
{% endfor %} {{ slot }}

{% translate "Identifiers" %}

{% for identifier in identifiers %}
{{ identifier.type }}
{% if identifier.link %}{{ identifier.value }}{% else %}{{ identifier.value }}{% endif %}
{% 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 %}
{% if funding is not None %}

{% translate "Funding" %}

{% if funding %}
    {% for award in funding %}
  • {% if award.funderIdentifier|slice:":4" == "http" %}{{ award.funderName }}{% else %}{{ award.funderName }}{% endif %} {% if award.awardTitle %}{{ award.awardTitle }}{% endif %} {% if award.awardNumber %}{% if award.awardURI|slice:":4" == "http" %}{{ award.awardNumber }}{% else %}{{ award.awardNumber }}{% endif %}{% endif %}
  • {% endfor %}
{% else %}

{% if can_manage %}{% translate "No funding recorded. Funders are part of the metadata data repositories expect." %}{% else %}{% translate "No funding has been recorded." %}{% endif %}

{% endif %}
{% endif %}

{% translate "For machines" %}

{% if api_url %}{% endif %} {% translate "Metadata downloads" as downloads %} {% translate "The DataCite JSON and schema.org JSON-LD records, served from this address." as reason %}
{% if edit.delete %} {% endif %}