From 911068670beae1734856a09c1c7107d346265cb0 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 20 Mar 2024 12:52:25 +0000 Subject: [PATCH] Bug 31791: Display record source on the detail view Signed-off-by: Lucas Gass Signed-off-by: Arthur Suzuki Signed-off-by: Katrin Fischer --- .../prog/en/modules/catalogue/detail.tt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 3873454a31..04f8d932d1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -153,6 +153,18 @@ Elasticsearch record: Show [% END %] + [% SET record_source = biblio.metadata.record_source %] + [% IF ( record_source ) %] + + Record source: + [% IF record_source.can_be_edited %] + [% record_source.name | html %] + [% ELSE %] + [% record_source.name | html %] + [% END %] + + [% END %] + [% IF ( holdcount ) %] Holds: -- 2.39.5