From eb244f15e654e8d7afa13191859c50f7fbc2344f Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 2 Aug 2022 06:54:59 +0200 Subject: [PATCH] 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... --- .../en/includes/authority-identifiers.inc | 30 ++++++++++++------- .../bootstrap/en/modules/opac-auth-detail.tt | 4 +-- .../bootstrap/en/modules/opac-detail.tt | 4 +-- 3 files changed, 22 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-identifiers.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-identifiers.inc index 55077ddbb2c..85d68c09bec 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-identifiers.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/authority-identifiers.inc @@ -1,17 +1,27 @@ [% SWITCH identifier.source.lower %] [% CASE 'orcid' %] - ORCID: - [% identifier.number | html %] +
  • + ORCID: + [% identifier.number | html %] +
  • [% CASE 'scopus' %] - ScopusID: - [% identifier.number | html %] +
  • + ScopusID: + [% identifier.number | html %] +
  • [% CASE 'loop' %] - loop: - [% identifier.number | html %] +
  • + loop: + [% identifier.number | html %] +
  • [% CASE 'rid' %] - Publons: - [% identifier.number | html %] +
  • + Publons: + [% identifier.number | html %] +
  • [% CASE 'viaf' %] - VIAF: - [% identifier.number | html %] +
  • + VIAF: + [% identifier.number | html %] +
  • [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt index 36a53eeda29..a84b1037849 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt @@ -186,9 +186,7 @@ Identifiers diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 9e41a2be1aa..b3607465d8c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -965,9 +965,7 @@ [% author.name | html %] -- 2.25.1