Bugzilla – Attachment 174871 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), 2.88 KB, created by
Owen Leonard
on 2024-11-21 13:32:33 UTC
(
hide
)
Description:
Bug 38502: Use Bootstrap alert info class for messages on table settings page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-11-21 13:32:33 UTC
Size:
2.88 KB
patch
obsolete
>From 95cc92a587f389199108759ea0e4f9b5abdc606e 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 >--- > .../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 01de61d112..11cbf22445 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 >@@ -34,9 +34,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.39.5
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