Skip to content

Commit

Permalink
Link to creator's search
Browse files Browse the repository at this point in the history
  • Loading branch information
ines-cruz committed May 25, 2021
1 parent d42f249 commit 1d70ebf
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,11 @@
{% macro show_creatibutors(creatibutors, show_affiliations=False) %}
{% for creatibutor in creatibutors %}
{{ creatibutor_icon(creatibutor) }}
<span
class="ui tooltip-popup text-muted"
{% if show_affiliations and creatibutor.affiliations %}
data-content="{{ creatibutor.affiliations|join('; ', attribute='1') }}"
{% endif %}
<a
href="/search?q=metadata.creators.person_or_org.name%3A{{ creatibutor.person_or_org.name}}"
>
{{ creatibutor.person_or_org.name }}
</span>
</a>
<sup class="font-tiny">
{% for affiliation in creatibutor.affiliations %}
{{ affiliation[0] }}{{ ", " if not loop.last }}
Expand Down

0 comments on commit 1d70ebf

Please sign in to comment.