From 2c24682fa09202705fa7b0efe478982bd5e5c009 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 9 Nov 2022 13:23:39 +0000 Subject: [PATCH] Bug 32028: (follow-up) Fix headings levels This patch corrects the headings levels on cash_registers, patron-attr-types and restrictions admin pages. We also move the h2 headings inside the page-section div as appropriate. Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/admin/cash_registers.tt | 22 +++++++++---------- .../en/modules/admin/patron-attr-types.tt | 6 +++-- .../prog/en/modules/admin/restrictions.tt | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt index 4acc81a23e..f6ddab8b0d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt @@ -159,14 +159,14 @@ Cash registers › Administration › Koha

Cash registers

-

Cash registers for -

- - [% IF cash_registers.count %]
+

Cash registers for +

+ + [% IF cash_registers.count %] @@ -205,10 +205,10 @@ Cash registers › Administration › Koha [% END %]
Name
-
- [% ELSE %] -
There are no cash registers defined. Start adding cash registers.
- [% END # /cash_register.count %] + [% ELSE %] +
There are no cash registers defined. Start adding cash registers.
+ [% END # /cash_register.count %] + [% END # /op == 'list' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt index b35a242c11..3c26281a29 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt @@ -292,10 +292,12 @@ Patron attribute types › Administration › Koha [% END %] [% IF ( available_attribute_types ) %] [% FOREACH attribute IN available_attribute_types %] +
[% IF attribute.class %] -

[% attribute.lib | html %]

+

[% attribute.lib | html %]

+ [% ELSE %] +

Unclassified types

[% END %] -
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt index c298c725f5..6652fa0306 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt @@ -160,7 +160,7 @@ New restriction -

Patron restrictions

+

Patron restrictions

[% IF searchfield %] You Searched for [% searchfield | html %] [% END %] -- 2.39.5