From 4aa45fc489210dff7c78569c2c99bbae1e7d4803 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=utf8 Content-Transfer-Encoding: 8bit And use an include file to avoid copy/paste Signed-off-by: Séverine QUEUNE Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- .../modals/serials_multi_receiving.inc | 32 ++++++++++++++++++ .../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 0000000000..91f9377f24 --- /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 7f26f8b867..c2122f7351 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 e23d35d0d7..0821f43258 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' %]