Skip to content

Commit

Permalink
citations: fixed html rendering.
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandromumo committed Dec 14, 2023
1 parent 27772db commit cb60548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/semantic-ui/zenodo_rdm/records/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ <h4 class="inline">{{ record.ui.access_status.title_l10n }}</h4>

{%- block record_footer -%}
{% if citations_enabled and not is_preview %}
{% set parent_pids = record.parent.pids or record.pids %}
<section
id="citations-search"
data-record-pids='{{ record.pids | tojson }}'
data-record-parent-pids='{{ record.parent.pids or record.pids | tojson }}'
data-record-parent-pids='{{ parent_pids | tojson }}'
data-citations-endpoint="{{config.ZENODO_RECORDS_UI_CITATIONS_ENDPOINT}}" aria-label="{{ _('Record citations')}}"
class="rel-mb-1"
>
Expand Down

0 comments on commit cb60548

Please sign in to comment.