Bug 29897: Move the identifier list to an include file
Sponsored-by: Orex Digital Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
035d0eb167
commit
c57b5f5408
3 changed files with 20 additions and 41 deletions
|
@ -0,0 +1,18 @@
|
|||
[% SWITCH identifier.source.lower %]
|
||||
[% CASE 'orcid' %]
|
||||
<span>ORCID: </span>
|
||||
<a href="https://orcid.org/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'scopus' %]
|
||||
<span>ScopusID: </span>
|
||||
<a href="https://www.scopus.com/authid/detail.uri?authorId=[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'loop' %]
|
||||
<span>loop: </span>
|
||||
<a href="https://loop.frontiersin.org/people/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'rid' %]
|
||||
<span>Publons: </span>
|
||||
<a href="https://publons.com/researcher/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'viaf' %]
|
||||
<span>VIAF: </span>
|
||||
<a href="https://viaf.org/viaf/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE %][% identifier.source | html %]: [% identifier.number | html %]
|
||||
[% END %]
|
|
@ -187,24 +187,7 @@
|
|||
<ul>
|
||||
[% FOR identifier IN author_identifiers %]
|
||||
<li>
|
||||
[% SWITCH identifier.source.lower %]
|
||||
[% CASE 'orcid' %]
|
||||
ORCID:
|
||||
<a href="https://orcid.org/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'scopus' %]
|
||||
ScopusID:
|
||||
<a href="https://www.scopus.com/authid/detail.uri?authorId=[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'loop' %]
|
||||
loop:
|
||||
<a href="https://loop.frontiersin.org/people/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'rid' %]
|
||||
Publons:
|
||||
<a href="https://publons.com/researcher/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'viaf' %]
|
||||
VIAF:
|
||||
<a href="https://viaf.org/viaf/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE %][% identifier.source | html %]: [% identifier.number | html %]
|
||||
[% END %]
|
||||
[% PROCESS "authority-identifiers.inc" identifier => identifier %]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
|
|
@ -966,29 +966,7 @@
|
|||
<ul>
|
||||
[% FOR identifier IN author.identifiers %]
|
||||
<li>
|
||||
[% SWITCH identifier.source.lower %]
|
||||
[% CASE 'orcid' %]
|
||||
ORCID:
|
||||
<a href="https://orcid.org/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'scopus' %]
|
||||
ScopusID:
|
||||
<a href="https://www.scopus.com/authid/detail.uri?authorId=[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'loop' %]
|
||||
loop:
|
||||
<a href="https://loop.frontiersin.org/people/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'rid' %]
|
||||
Publons:
|
||||
<a href="https://publons.com/researcher/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE 'viaf' %]
|
||||
VIAF:
|
||||
<a href="https://viaf.org/viaf/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
[% CASE %][% identifier.source | html %]: [% identifier.number | html %]
|
||||
[% END %]
|
||||
[% IF identifier.linkage %]
|
||||
<a href="[% identifier.linkage | url %]">[% identifier.number | html %]</a>
|
||||
[% ELSE %]
|
||||
[% identifier.number | html %]
|
||||
[% END %]
|
||||
[% PROCESS "authority-identifiers.inc" identifier => identifier %]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue