From f4b55db9d48a682a5509997d50428ccb1efc6ed3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 5 May 2021 16:49:11 +0100 Subject: [PATCH] Bug 14957: (QA follow-up) Fix template indentation Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- .../en/modules/admin/marc-overlay-rules.tt | 491 +++++++++--------- 1 file changed, 245 insertions(+), 246 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt index 90a5135624..e5bae8bee5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc-overlay-rules.tt @@ -19,253 +19,252 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] - - -
-
-
- -

Manage MARC overlay rules

- -[% FOR m IN messages %] -
- [% SWITCH m.code %] - [% CASE 'invalid_tag_regexp' %] - Invalid regular expression "[% m.tag | html %]". - [% CASE 'invalid_control_field_actions' %] - Invalid combination of actions for tag [% m.tag | html %]. Control field rules do not allow "Appended: Append" and "Removed: Skip". - [% CASE %] - [% m.code | html %] - [% END %] -
-[% END %] - -[% UNLESS Koha.Preference( 'MARCOverlayRules' ) %] -
- The MARCOverlayRules preference is not set, don't forget to enable it for rules to take effect. -
-[% END %] -[% IF removeConfirm %] -
-

Remove rule?

-

Are you sure you want to remove the selected rule(s)?

- -
- -
- -
-[% END %] - -
- - - - - - - - - - - - - - - [% UNLESS edit %] - - - - - - - - - - - - - - - - [% END %] - - [% FOREACH rule IN rules %] - - [% IF rule.edit %] - - - - - - - - - - - - [% ELSE %] - - - - - - - - - - - - [% END %] - - [% END %] - -
RuleModuleFilterTagPresetAdded Appended Removed Deleted Actions 
  - - - - - - - - - - - -
[% rule.id | html %] - - - - - - - - - - - - - - - [% rule.id | html %][% rule.module | html %][% rule.filter | html %][% rule.tag | html %][% IF rule.add %]Add[% ELSE %]Skip[% END %][% IF rule.append %]Append[% ELSE %]Skip[% END %][% IF rule.remove %]Remove[% ELSE %]Skip[% END %][% IF rule.delete %]Delete[% ELSE %]Skip[% END %] - Delete - Edit - - [% IF rule.removemarked %] - - [% ELSE %] - + + +
+
+
+ +

Manage MARC overlay rules

+ + [% FOR m IN messages %] +
+ [% SWITCH m.code %] + [% CASE 'invalid_tag_regexp' %] + Invalid regular expression "[% m.tag | html %]". + [% CASE 'invalid_control_field_actions' %] + Invalid combination of actions for tag [% m.tag | html %]. Control field rules do not allow "Appended: Append" and "Removed: Skip". + [% CASE %] + [% m.code | html %] [% END %] -
-
- -
- -
- -
- - -
- -
- -
-
+ + [% END %] + + [% UNLESS Koha.Preference( 'MARCOverlayRules' ) %] +
+ The MARCOverlayRules preference is not set, don't forget to enable it for rules to take effect. +
+ [% END %] + [% IF removeConfirm %] +
+

Remove rule?

+

Are you sure you want to remove the selected rule(s)?

+ +
+ +
+ +
+ [% END %] + +
+ + + + + + + + + + + + + + + [% UNLESS edit %] + + + + + + + + + + + + + + + + [% END %] + + [% FOREACH rule IN rules %] + + [% IF rule.edit %] + + + + + + + + + + + + [% ELSE %] + + + + + + + + + + + + [% END %] + + [% END %] + +
RuleModuleFilterTagPresetAdded Appended Removed Deleted Actions 
  + + + + + + + + + + + +
[% rule.id | html %] + + + + + + + + + + + + + + + [% rule.id | html %][% rule.module | html %][% rule.filter | html %][% rule.tag | html %][% IF rule.add %]Add[% ELSE %]Skip[% END %][% IF rule.append %]Append[% ELSE %]Skip[% END %][% IF rule.remove %]Remove[% ELSE %]Skip[% END %][% IF rule.delete %]Delete[% ELSE %]Skip[% END %] + Delete + Edit + + [% IF rule.removemarked %] + + [% ELSE %] + + [% END %] +
+
+ +
+ +
+ + + +
+ +
+ + + [% MACRO jsinclude BLOCK %]