From ba5d208d0ee13d6f78a3c0be38e7066ec1c94d4d Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 24 Oct 2022 17:45:08 +0000 Subject: [PATCH] Bug 31955: Add page-section div to additional-fields.tt To test: 1. Apply patch 2. Look at Administration > Additional fields. 3. Each of the 4 tables should have a page-section div around it: Order baskets (aqbasket) Subscriptions (subscription) Account lines (credit) (accountlines:credit) Account lines (debit) (accountlines:debit) Note: There are some indentation changes. --- .../en/modules/admin/additional-fields.tt | 60 ++++++++++--------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt index e3efdaf184..467f148987 100755 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt @@ -131,41 +131,43 @@ [% ELSIF op == 'list' %]

Additional fields for '[% tablename | html %]'

[% IF fields %] - - - - - - [% IF show_marcfield %] - - [% END %] - [% IF show_searchable %] - - [% END %] - - - - - [% FOR field IN fields %] +
+
NameAuthorized value categoryMARC fieldSearchableActions
+ - - + + [% IF show_marcfield %] - + [% END %] [% IF show_searchable %] - + [% END %] - + - [% END %] - -
[% field.name | html %][% field.authorised_value_category | html %]NameAuthorized value category[% field.marcfield | html %]MARC field - [% IF field.searchable %]Yes[% ELSE %]No[% END %] - Searchable - Edit - Delete - Actions
+ + + [% FOR field IN fields %] + + [% field.name | html %] + [% field.authorised_value_category | html %] + [% IF show_marcfield %] + [% field.marcfield | html %] + [% END %] + [% IF show_searchable %] + + [% IF field.searchable %]Yes[% ELSE %]No[% END %] + + [% END %] + + Edit + Delete + + + [% END %] + + + [% ELSE %] [% IF tablename %]There are no additional fields defined for this table.[% END %] [% END %] -- 2.30.2