Bugzilla – Attachment 176643 Details for
Bug 38502
Use Bootstrap alert info class for messages on table settings page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38502: Use Bootstrap alert info class for messages on table settings page
Bug-38502-Use-Bootstrap-alert-info-class-for-messa.patch (text/plain), 3.00 KB, created by
Jonathan Druart
on 2025-01-16 11:41:37 UTC
(
hide
)
Description:
Bug 38502: Use Bootstrap alert info class for messages on table settings page
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-01-16 11:41:37 UTC
Size:
3.00 KB
patch
obsolete
>From 3f440f799f525c6dcda60af294bf573a0f24a7e6 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 21 Nov 2024 12:50:42 +0000 >Subject: [PATCH] Bug 38502: Use Bootstrap alert info class for messages on > table settings page > >This patch updates the table settings template to add style to >informational messages. > >To test, apply the patch and go to Administration -> Table settings. > >- Go to Catalog -> detail -> holdings_table. Above the table's settings > you should see a message, "Please not that if a field..." It should > have the standard Bootstrap "info" style. >- Go to Cataloging -> additem. You should see a similarly styled > message, "Changes made below..." > >Sponsored-by: Athens County Public Libraries >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > .../intranet-tmpl/prog/en/modules/admin/columns_settings.tt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt >index d0f849bd892..f9d5e89ba56 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/columns_settings.tt >@@ -35,9 +35,9 @@ > <div class="datatable_config" id="[% table_id | html %]"> > <input type="hidden" name="table_id" value="[% table_id| html %]" /> > [% IF pagename == 'additem' AND tablename == 'itemst' %] >- <div class="alert">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div> >+ <div class="alert alert-info">Changes made below will only apply to item subfields that are mapped to the 'items' table. <a href="/cgi-bin/koha/admin/koha2marclinks.pl?tablename=items">Go to Koha to MARC mapping</a></div> > [% ELSIF pagename == 'detail' AND ( tablename == 'holdings_table' || tablename == 'otherholdings_table' ) %] >- <div class="alert">Please note that if a field is not used on the first page of items in the holdings table, it will be automatically hidden from display and can be made visible on demand. You can still use the column configuration to permanently hide columns from the holdings table.</div> >+ <div class="alert alert-info">Please note that if a field is not used on the first page of items in the holdings table, it will be automatically hidden from display and can be made visible on demand. You can still use the column configuration to permanently hide columns from the holdings table.</div> > [% END %] > <table> > <caption> >-- >2.34.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 38502
:
174871
|
176108
| 176643