From dd39ee208983b574345ed4895b6a31e2a355db81 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 7 Jun 2024 17:00:20 +0000 Subject: [PATCH] Bug 37054: Add branch color to branches.tt Signed-off-by: David Nind --- Koha/Library.pm | 3 ++- admin/branches.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Koha/Library.pm b/Koha/Library.pm index e9a53fd9399..ca32483db9b 100644 --- a/Koha/Library.pm +++ b/Koha/Library.pm @@ -369,7 +369,8 @@ sub to_api_mapping { branchnotes => 'notes', marcorgcode => 'marc_org_code', opacusercss => undef, - opacuserjs => undef + opacuserjs => undef, + branchcolor => undef }; } diff --git a/admin/branches.pl b/admin/branches.pl index b6d705cd185..32f58d55365 100755 --- a/admin/branches.pl +++ b/admin/branches.pl @@ -84,6 +84,7 @@ if ( $op eq 'add_form' ) { public opacuserjs opacusercss + branchcolor ); my $is_a_modif = $input->param('is_a_modif'); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt index ad58c353468..cdc38d174f6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -365,6 +365,10 @@ +
  • + + +
  • @@ -588,6 +592,10 @@ No opening hours have been set. [% END %] +
  • + Branch color + [% library.branchcolor | html %] +
  • -- 2.39.2