Bugzilla – Attachment 182936 Details for
Bug 39441
Some templates have div.container instead of div.container-fluid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39441: Some staff interface templates have div.container instead of div.container-fluid
Bug-39441-Some-staff-interface-templates-have-divc.patch (text/plain), 3.79 KB, created by
David Nind
on 2025-06-04 10:36:30 UTC
(
hide
)
Description:
Bug 39441: Some staff interface templates have div.container instead of div.container-fluid
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-06-04 10:36:30 UTC
Size:
3.79 KB
patch
obsolete
>From 801d536d579ee8bd8140208d4d3a0de24e70a8b4 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 23 May 2025 16:52:00 +0000 >Subject: [PATCH] Bug 39441: Some staff interface templates have div.container > instead of div.container-fluid > >This patch updates a few templates so that div.container is replaced >with div.container-fluid. div.container gives us a fixed maximum width >that isn't consistent the rest of Koha. > >To test, apply the patch and go to the staff interface. > >- Perform a catalog search which will return multiple results. >- In the search results, check multiple results and click "Add to cart." >- Click the cart icon in the top menu to trigger the cart popup. >- The contents of the cart popup should fill the whole width of the > window. >- The other instances of this are less noticeable because of how the > pages work. These changes are more about consistency: > - The OPAC place hold page > - The club enrollment process (both in the OPAC and the staff > interface) > - As long as these interactions work correctly all is good. > >Sponsored-by: Athens County Public Libraries >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt | 2 +- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >index d763dea352..df4b5fb611 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >@@ -39,7 +39,7 @@ > <body id="cart_basket" class="cart"> > > [% WRAPPER 'main-container.inc' wide_centered => 1 %] >- <div class="container"> >+ <div class="container-fluid"> > <h1>Your cart</h1> > > <div id="toolbar" class="btn-toolbar"> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt >index a25dedbf67..3f37ed910b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt >@@ -2,7 +2,7 @@ > > <h1 id="heading"> Enroll in <em>[% club.name | html %]</em> </h1> > >-<div class="container"> >+<div class="container-fluid"> > <form method="get" id="patron-enrollment-form"> > <input type="hidden" name="id" value="[% club.id | html %]" /> > <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >index 1f6b8d2525..01937f9c78 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt >@@ -2,7 +2,7 @@ > > <h2> Enroll in <em>[% club.name | html %]</em> </h2> > >-<div class="container"> >+<div class="container-fluid"> > <form method="get" id="patron-enrollment-form"> > <legend class="sr-only">Enrollment</legend> > <input type="hidden" name="id" value="[% club.id | html %]" /> >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >index 59e5704950..347538b497 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt >@@ -26,7 +26,7 @@ > [% END %] > [% END #/ WRAPPER breadcrumbs %] > >- <div class="container"> >+ <div class="container-fluid"> > <div id="holds" class="maincontent"> > <h1>Placing a hold</h1> > [% IF ( message ) %] >-- >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 39441
:
182776
|
182936
|
183656
|
183657