diff --git a/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html b/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html index fd36855a1..fbcb8cf6a 100644 --- a/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html +++ b/invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/detail.html @@ -96,40 +96,37 @@

{{ add_description.type.title_l10n }} {{ item.funder.name if item.funder }} {%- if item.award -%} - {%- if item.award.title_l10n -%} -
- - {% if item.award.acronym %} - {{ item.award.acronym }} – - {% endif %} - - {{ item.award.title_l10n }} - +
+ + {% if item.award.acronym %} + {{ item.award.acronym }} – + {% endif %} + + {%- if item.award.title_l10n -%} + {{ item.award.title_l10n }} + {%- endif -%} + - {%- if item.award.number -%} - - {{ item.award.number }} - - {%- endif -%} + {%- if item.award.number -%} + + {{ item.award.number }} + + {%- endif -%} - {%- if item.award.identifiers -%} - {% for identifier in item.award.identifiers if 'url' == identifier.scheme %} - - - - {%- endfor -%} - {%- endif -%} -
+ {%- if item.award.identifiers -%} + {% for identifier in item.award.identifiers if 'url' == identifier.scheme %} + + + + {%- endfor -%} {%- endif -%} -
{{ item.funder.name if item.funder }}
- {%- else -%} -
{{ item.funder.name if item.funder }}
- {%- endif -%} + +{%- endif -%} {% endmacro %} - {% macro show_references(references) %}