From 2501e8fc4b617960e2adce5e431293f5c671c633 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 --- 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 e9a53fd939..ca32483db9 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 b6d705cd18..32f58d5536 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 37afcd259b..8fa11654df 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