From ce60e83b090c42a40eec7bdf6b9145e79d6ce862 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. --- .../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 7f02a55aa55..31369556221 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt @@ -112,20 +112,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.25.1