From 679367455b2c807931fdbeb78c2ad46197dfb83b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 7 May 2024 10:25:38 +0100 Subject: [PATCH] Bug 36800: Move concern table markup to include This patch moves the table markup for catalog concerns/tickets into an include. We still need to move the JS however. --- .../prog/en/includes/tables/tickets.inc | 11 +++++++++++ .../prog/en/modules/catalogue/detail.tt | 12 +----------- .../prog/en/modules/cataloguing/concerns.tt | 12 +----------- 3 files changed, 13 insertions(+), 22 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc new file mode 100644 index 00000000000..3963d28e030 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tables/tickets.inc @@ -0,0 +1,11 @@ + + + + + + + + + + +
ReportedDetailsTitleStatusActions
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 21ae423a3f4..adef1064dd3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -668,17 +668,7 @@ | Show all - - - - - - - - - - -
ReportedDetailsTitleStatusActions
+ [% INCLUDE 'tables/tickets.inc' %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt index d0086c8f4ae..9a24d7bf76b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/concerns.tt @@ -49,17 +49,7 @@ [% END %] - - - - - - - - - - -
ReportedDetailsTitleStatusActions
+ [% INCLUDE 'tables/tickets.inc' %] -- 2.45.0