Bugzilla – Attachment 183400 Details for
Bug 40167
Curbside pickups - Show link if not configured
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40167: Curbside pickups - Show link if not configured
Bug-40167-Curbside-pickups---Show-link-if-not-conf.patch (text/plain), 2.00 KB, created by
Owen Leonard
on 2025-06-20 18:21:36 UTC
(
hide
)
Description:
Bug 40167: Curbside pickups - Show link if not configured
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-06-20 18:21:36 UTC
Size:
2.00 KB
patch
obsolete
>From ce2ac9c51ebf3d3cc268259c0ab139f2cdb3cdf1 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 20 Jun 2025 11:52:29 -0300 >Subject: [PATCH] Bug 40167: Curbside pickups - Show link if not configured > >If curbside pickups are not configured for the current branch, a >correct message is displayed. It would be helpful to provide a link to >the configuration page right there, if the patron has permissions to set >it. > >This patch just adds that. > >To test: >1. Enable Curbside pickups >2. Make sure you are in a branch that doesn't have any rules for > curbside pickups >3. Go to Circulation > Curbside pickups > => SUCCESS: A message about curbside pickups not being configured is > displayed >4. Apply this patch >5. Repeat 3 (reload?) > => SUCCESS: The message is displayed, but you can now follow a link > to configure the rules. >6. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > .../intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >index 529147b1708..538426e4dd9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/curbside_pickups.tt >@@ -687,7 +687,12 @@ > > [% BLOCK curbside_pickups_disabled %] > <h1>Curbside pickups</h1> >- <div class="alert alert-warning">Curbside pickups are not enabled for your library.</div> >+ <div class="alert alert-info"> >+ Curbside pickups are not enabled for your library. >+ [%- IF CAN_user_parameters_manage_curbside_pickups -%] >+ You can enable them at the curbside pickups <a href="/cgi-bin/koha/admin/curbside_pickup.pl">configuration page</a>. >+ [%- END -%] >+ </div> > [% END # /BLOCK disabled %] > > [% SET aside = Koha.Preference('CircSidebar') ? 'circ-nav' : '' %] >-- >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 40167
:
183397
| 183400 |
183401