From 7b6b7a4a3ab6190d385fceee56e11294ad6f6d58 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. Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- .../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 31acd80d05..858e5a7751 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 @@ -134,41 +134,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.39.5