From b13b42390f1c2fcce104c9d67e78631fb2ef8ebc Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 30 Jun 2023 19:48:04 +0000 Subject: [PATCH] Bug 29825: (follow-up) Some style fixes and modal correction This patch makes a few coding style changes to the new JavaScript and updates the Bootstrap modal markup to be in line with current standards. The previous patches lacked a trigger for the preview modal, so I added that. Since the content of the modal uses spaces for formatting I added monospace formatting to the modal body. Signed-off-by: Phil Ringnalda --- .../modals/edit_authority_preview.inc | 12 ++- .../en/modules/authorities/authorities.tt | 79 ++++++++++--------- 2 files changed, 50 insertions(+), 41 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/modals/edit_authority_preview.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/edit_authority_preview.inc index c4f9aae3fc..75742999ea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/modals/edit_authority_preview.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/modals/edit_authority_preview.inc @@ -1,11 +1,15 @@ -