Bugzilla – Attachment 175572 Details for
Bug 38662
Additional fields admin page hard to read
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38662: Group tables by module name
Bug-38662-Group-tables-by-module-name.patch (text/plain), 4.26 KB, created by
Martin Renvoize (ashimema)
on 2024-12-16 19:14:26 UTC
(
hide
)
Description:
Bug 38662: Group tables by module name
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-12-16 19:14:26 UTC
Size:
4.26 KB
patch
obsolete
>From ffa8bbe162d9eed633411493f9ff3ef7d09909bb Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Tue, 10 Dec 2024 11:03:15 +0000 >Subject: [PATCH] Bug 38662: Group tables by module name > >Test plan: >1) Before applying patches, visit the additional fields admin page: > <staff_url>/cgi-bin/koha/admin/additional-fields.pl >2) Notice the tables are not grouped by module, and not alphabetically sorted >3) Apply patches. Refresh > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../en/modules/admin/additional-fields.tt | 40 ++++++++++++------- > 1 file changed, 26 insertions(+), 14 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 3cf17ac6160..51f47e483e4 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 >@@ -121,27 +121,39 @@ > [% BLOCK table_option %] > <li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li> > [% END %] >- <ul> >- [% IF CAN_user_acquisition_order_manage %] >- [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %] >- [% WRAPPER table_option value="aqorders" %]<span>Order lines</span>[% END %] >- [% END %] >- [% IF CAN_user_acquisition_edit_invoices %] >- [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %] >+ [% IF CAN_user_acquisition_order_manage || CAN_user_acquisition_edit_invoices %] >+ <h3>Acquisitions</h3> >+ <ul> >+ [% IF CAN_user_acquisition_order_manage %] >+ [% WRAPPER table_option value="aqbasket" %]<span>Order baskets</span>[% END %] >+ [% WRAPPER table_option value="aqorders" %]<span>Order lines</span>[% END %] >+ [% END %] >+ [% IF CAN_user_acquisition_edit_invoices %] >+ [% WRAPPER table_option value="aqinvoices" %]<span>Invoices</span>[% END %] >+ [% END %] >+ </ul> > [% END %] > [% IF CAN_user_serials_edit_subscription %] >- [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %] >+ <h3>Serials</h3> >+ <ul> >+ [% WRAPPER table_option value="subscription" %]<span>Subscriptions</span>[% END %] >+ </ul> > [% END %] > [% IF CAN_user_updatecharges_remaining_permissions %] >- [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %] >- [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %] >+ <h3>Members</h3> >+ <ul> >+ [% WRAPPER table_option value="accountlines:credit" %]Account lines (credit)[% END %] >+ [% WRAPPER table_option value="accountlines:debit" %]Account lines (debit)[% END %] >+ </ul> > [% END %] > [% IF CAN_user_erm %] >- [% WRAPPER table_option value="erm_licenses" %]ERM licenses[% END %] >- [% WRAPPER table_option value="erm_agreements" %]ERM agreements[% END %] >- [% WRAPPER table_option value="erm_packages" %]ERM packages[% END %] >+ <h3>E-resource management</h3> >+ <ul> >+ [% WRAPPER table_option value="erm_licenses" %]ERM licenses[% END %] >+ [% WRAPPER table_option value="erm_agreements" %]ERM agreements[% END %] >+ [% WRAPPER table_option value="erm_packages" %]ERM packages[% END %] >+ </ul> > [% END %] >- </ul> > [% ELSE %] > Additional permissions are required for editing additional fields > [% END %] >-- >2.47.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38662
:
175343
|
175344
|
175345
|
175347
|
175348
|
175349
| 175572 |
175573
|
175574