Bug 29897: Don't display empty li
It's ugly to move the li to the include file, but it's the easiest for now... 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
443884ef74
commit
141223b0fd
3 changed files with 22 additions and 16 deletions
|
@ -1,17 +1,27 @@
|
|||
[% SWITCH identifier.source.lower %]
|
||||
[% CASE 'orcid' %]
|
||||
<li>
|
||||
<span>ORCID: </span>
|
||||
<a href="https://orcid.org/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
</li>
|
||||
[% CASE 'scopus' %]
|
||||
<li>
|
||||
<span>ScopusID: </span>
|
||||
<a href="https://www.scopus.com/authid/detail.uri?authorId=[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
</li>
|
||||
[% CASE 'loop' %]
|
||||
<li>
|
||||
<span>loop: </span>
|
||||
<a href="https://loop.frontiersin.org/people/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
</li>
|
||||
[% CASE 'rid' %]
|
||||
<li>
|
||||
<span>Publons: </span>
|
||||
<a href="https://publons.com/researcher/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
</li>
|
||||
[% CASE 'viaf' %]
|
||||
<li>
|
||||
<span>VIAF: </span>
|
||||
<a href="https://viaf.org/viaf/[% identifier.number | url %]">[% identifier.number | html %]</a>
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
@ -186,9 +186,7 @@
|
|||
<span>Identifiers</span>
|
||||
<ul>
|
||||
[% FOR identifier IN author_identifiers %]
|
||||
<li>
|
||||
[% PROCESS "authority-identifiers.inc" identifier => identifier %]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -965,9 +965,7 @@
|
|||
<span class="author_name"><a href="/cgi-bin/koha/opac-authoritiesdetail.pl?authid=[% author.authid | uri %]">[% author.name | html %]</a></span>
|
||||
<ul>
|
||||
[% FOR identifier IN author.identifiers %]
|
||||
<li>
|
||||
[% PROCESS "authority-identifiers.inc" identifier => identifier %]
|
||||
</li>
|
||||
[% END %]
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue