From fafddbb105a2bb36d038dae0efc8b13b3b252246 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 23 Nov 2022 10:08:26 +0100 Subject: [PATCH] Bug 32291: (bug 16735 follow-up) Remove ref to library category in branches.tt On bug 16735 we rewrite the library groups system. Those references in branches.tt were part of the previous code, and they can be removed. Test plan: Confirm the above and that those code errors are never sent to the template. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 4f8b742cbe0c41a389290a821c0ca478bb108e26) Signed-off-by: Matt Blenkinsop (cherry picked from commit e1114304618f88a40a6454be1df75bf8199141cc) Signed-off-by: Lucas Gass (cherry picked from commit 14acae6f9f8ed5d159fb148e699cfce97939b267) Signed-off-by: Arthur Suzuki --- .../prog/en/modules/admin/branches.tt | 14 -------------- 1 file changed, 14 deletions(-) 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 d05c5aa1b7..acce9ba0ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -97,20 +97,6 @@ Libraries › Administration › Koha [% ELSIF m.data.items_count %] ([% m.data.items_count | html %] items). [% END %] - [% CASE 'error_on_update_category' %] - An error occurred when updating this library category. Perhaps it already exists. - [% CASE 'error_on_insert_category' %] - An error occurred when adding this library category. The categorycode might already exist. - [% CASE 'error_on_delete_category' %] - An error occurred when deleting this library category. Check the logs. - [% CASE 'success_on_update_category' %] - Library category updated successfully. - [% CASE 'success_on_insert_category' %] - Library category added successfully. - [% CASE 'success_on_delete_category' %] - Library category deleted successfully. - [% CASE 'cannot_delete_category' %] - This library category cannot be deleted. [% m.data.libraries_count | html %] libraries are still using it. [% CASE %] [% m.code | html %] [% END %] -- 2.39.5