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: Lisette Scheer <lisette@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 0c074c694e)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Owen Leonard 2025-05-23 16:52:00 +00:00 committed by Paul Derscheid
parent aed4eb5974
commit 3e0f04851f
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
4 changed files with 4 additions and 4 deletions

View File

@ -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">

View File

@ -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 %]" />

View File

@ -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 %]" />

View File

@ -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 ) %]