From d85045ec46a3f4afb964c16dee5b74fcf6f3a8ef Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Apr 2018 09:42:08 -0300 Subject: [PATCH] Bug 18327: Same change for serials-edit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And use an include file to avoid copy/paste Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer --- .../en/includes/modals/serials_multi_receiving.inc | 32 +++++++++++++++++++++ .../prog/en/modules/serials/serials-collection.tt | 33 +--------------------- .../prog/en/modules/serials/serials-edit.tt | 21 ++++++++------ serials/serials-edit.pl | 1 + 4 files changed, 47 insertions(+), 40 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/modals/serials_multi_receiving.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/modals/serials_multi_receiving.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/serials_multi_receiving.inc new file mode 100644 index 0000000..91f9377 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/serials_multi_receiving.inc @@ -0,0 +1,32 @@ + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt index 7f26f8b..c2122f7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt @@ -21,38 +21,7 @@
- - - + [% INCLUDE 'modals/serials_multi_receiving.inc' %] [% UNLESS ( popup ) %] [% INCLUDE 'serials-toolbar.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt index e23d35d..0821f43 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt @@ -8,12 +8,12 @@ [% INCLUDE 'calendar.inc' %]