From 614f5c79634462ebd40ba6fe6ef0d2770ffa33e7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 5 Aug 2022 13:23:02 +0100 Subject: [PATCH] Bug 31162: Remove toolbar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch removes the existing toolbar with 'New record' and 'New from Z39.50/SRU' and replaces the functionality with simple buttons on the page. We lose the ability to select the Framework or Z39.50/SRU server at this stage but one can still select these options from the resulting dialogues. Signed-off-by: Emmanuel Bétemps Signed-off-by: Katrin Fischer --- .../en/modules/cataloguing/cataloging-home.tt | 50 ++++++++----------- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt index 46dadac6a8..1a8d79b1ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt @@ -1,6 +1,7 @@ [% USE raw %] [% USE Koha %] [% USE Branches %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Cataloging › Koha [% INCLUDE 'doc-head-close.inc' %] @@ -24,38 +25,12 @@
- [% IF ( CAN_user_editcatalogue_edit_catalogue ) %] -
-
- - - -
- [% IF servers.count > 0 %] -
- - - -
- [% END # /IF servers.count %] -
- [% END # /IF CAN_user_editcatalogue_edit_catalogue %] -

Cataloging

+ [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]

New

+ [% END %]

Import

@@ -94,7 +78,6 @@
-

Batch editing

@@ -179,4 +162,15 @@
+[% MACRO jsinclude BLOCK %] + + +[% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.20.1