mirror of
https://github.com/Cian-H/invenio-theme-iform.git
synced 2025-12-23 05:01:58 +00:00
bugfix(*): fix record creators name access
access name via creator.person_or_org.name.
This commit is contained in:
@@ -94,7 +94,7 @@ const Creator = ({creator}) => {
|
|||||||
return (
|
return (
|
||||||
<div className="creator">
|
<div className="creator">
|
||||||
<Identifiers creator={creator}/>
|
<Identifiers creator={creator}/>
|
||||||
<span className="text-muted">{creator.name}</span>
|
<span className="text-muted">{creator.person_or_org.name}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
<a href="{{creators.identifiers.orcid|pid_url('orcid')}}" target="_blank" ><img class="inline-orcid" src="{{ url_for('static', filename='extra/orcid.png')}}" /></a>
|
<a href="{{creators.identifiers.orcid|pid_url('orcid')}}" target="_blank" ><img class="inline-orcid" src="{{ url_for('static', filename='extra/orcid.png')}}" /></a>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
<span class="text-muted" {% if creators.affiliations %} {% for affiliation in creators.affiliations %} data-toggle="tooltip" title="{{affiliation.name}}" {%- endfor %} {% endif %}>{{creators.name}}</span>
|
<span class="text-muted" {% if creators.affiliations %} {% for affiliation in creators.affiliations %} data-toggle="tooltip" title="{{affiliation.name}}" {%- endfor %} {% endif %}>{{creators.person_or_org.name}}</span>
|
||||||
{% if not loop.last %}; {% endif %}
|
{% if not loop.last %}; {% endif %}
|
||||||
|
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
|
|||||||
Reference in New Issue
Block a user