From bc19316cb7394c3533727f0c50df4295ddbdebd7 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 3 Nov 2020 18:00:57 +0000 Subject: [PATCH] Bug 26727: (follow-up) More markup corrections This patch makes more markup changes to the templates previously modified in order to try to arrive at some agreeable solutions. - In the value_builder EXAMPLE template, the

is unnecessary and is removed. Also removed is the script "type" attribute and obsolete CDATA markers. - In the article request template an unnecessary

is removed. - In the merge patrons template the submit button is now in a

as is consistent with other forms. - In the MARC modifications template I've added
s around each "line" in the form to add the line break, along with some CSS to add margins. - The submit button is now inside a
and the "Cancel" link now has the "cancel" class. Signed-off-by: David Nind --- .../modules/cataloguing/value_builder/EXAMPLE.tt | 6 +- .../prog/en/modules/circ/request-article.tt | 1 - .../prog/en/modules/members/merge-patrons.tt | 14 +- .../modules/tools/marc_modification_templates.tt | 142 +++++++++++---------- 4 files changed, 86 insertions(+), 77 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/EXAMPLE.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/EXAMPLE.tt index c2323f2c3b..6431c3faf9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/EXAMPLE.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/EXAMPLE.tt @@ -10,7 +10,7 @@

Hi, you are looking at the result of launching the EXAMPLE plugin.

I received this from you:

-

+

I will pass back what you type here, if you press OK.

@@ -19,8 +19,7 @@

- [% INCLUDE 'popup-bottom.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt index 6c76b1fa5b..3a228ba1cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/request-article.tt @@ -90,7 +90,6 @@
Place article request from [% biblio.title | html %] for [% patron.firstname | html %] [% patron.surname | html %] ( [% patron.cardnumber | html %] ) -

  • diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt index 0448127e46..3ac0fbe1cc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/merge-patrons.tt @@ -85,14 +85,14 @@ - [% FOREACH p IN patrons %] - - [% END %] - -
    +
    + [% FOREACH p IN patrons %] + + [% END %] + + +
    - - [% ELSE %]
    Error: Two or more patrons need to be selected for merging
    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt index 8fdf30cf8e..3e3db1997f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt @@ -5,9 +5,17 @@ [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › MARC modification templates [% INCLUDE 'doc-head-close.inc' %] - +[% FILTER collapse %] + +[% END %] @@ -183,84 +191,88 @@ Add a new action - - - - + + + + + + - - - field(s) - - -
- + + - + + + + +
+ + +
+ +
+ + + + + Cancel +
-- 2.11.0