From 960851de121d5fe7b88468203072808dc358c127 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 24 Jul 2024 15:59:31 +0100 Subject: [PATCH] Bug 37452: Modernise the view in showdiffmarc Content-Type: text/plain; charset=utf-8 The showdiffmarc view available from manage stage records when a match is found looks dated. This patch adds a page-section, centers the display as a whole and converts the link back to the staging area to an action button. Signed-off-by: Owen Leonard --- .../prog/en/modules/tools/showdiffmarc.tt | 56 ++++++++++--------- 1 file changed, 29 insertions(+), 27 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt index a752870c9f..41c2f47ad3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/showdiffmarc.tt @@ -41,39 +41,41 @@ [% END #/ WRAPPER sub-header.inc %]
+
-
- [% INCLUDE 'messages.inc' %] +
+ [% INCLUDE 'messages.inc' %]

Compare matched records

- -
-

Original

- [% IF ( ERROR_FORMATTED1 ) %] -
-

The record ID [% RECORDID | html %] doesn't match any existing record.

+
+

[% RECORDTITLE | html %]

+
+

Original

+ [% IF ( ERROR_FORMATTED1 ) %] +
+

The record ID [% RECORDID | html %] doesn't match any existing record.

+
+ [% ELSE %] +
[% MARC_FORMATTED1 | html %]
+ [% END %]
- [% ELSE %] -

[% RECORDTITLE | html %]

-
[% MARC_FORMATTED1 | html %]
- [% END %] -
-
-

Imported

- [% IF ( ERROR_FORMATTED2 ) %] -
-

The import ID number [% IMPORTID | html %] doesn't match any existing record.

+
+

Imported

+ [% IF ( ERROR_FORMATTED2 ) %] +
+

The import ID number [% IMPORTID | html %] doesn't match any existing record.

+
+ [% ELSE %] +

[% IMPORTTITLE | html %]

+
[% MARC_FORMATTED2 | html %] 
+ [% END %]
- [% ELSE %] -

[% IMPORTTITLE | html %]

-
[% MARC_FORMATTED2 | html %] 
- [% END %] +
+
+ Return to staged MARC batch [% batchid | html %] +
- -

Return to staged MARC batch [% batchid | html %]

- -
-
+
[% MACRO jsinclude BLOCK %] [% Asset.js("js/tools-menu.js") | $raw %] -- 2.30.2