{% load i18n %} {% comment %} — the awards that paid for the record, in DataCite's funding reference shape. The card is always drawn; with no award it says none is recorded. Attributes: funding – [{funderName, funderIdentifier, awardTitle, awardNumber, awardURI}]; an identifier or award URI is linked only when it is an http(s) address can_manage – the viewer is on the team; with no funding recorded, the card then says why it matters class – extra classes on the card {% endcomment %} {% if funding %}
    {% for award in funding %}
  • {% if award.funderIdentifier|slice:":8" == "https://" or award.funderIdentifier|slice:":7" == "http://" %} {{ award.funderName }} {% else %} {{ award.funderName }} {% endif %} {% if award.awardTitle %}{{ award.awardTitle }}{% endif %} {% if award.awardNumber %} {% if award.awardURI|slice:":8" == "https://" or award.awardURI|slice:":7" == "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 %}