Summary: | Rename 'Library' page link to 'Contact' for single library | ||
---|---|---|---|
Product: | Koha | Reporter: | Marcel de Rooy <m.de.rooy> |
Component: | OPAC | Assignee: | Marcel de Rooy <m.de.rooy> |
Status: | Pushed to main --- | QA Contact: | Paul Derscheid <paul.derscheid> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | caroline.cyr-la-rose, paul.derscheid |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31817 | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | Small patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
If there is only one library marked as 'public' in the library configuration page, the navigation item on the OPAC will change from 'Libraries' to 'Contact'.
|
|
Version(s) released in: |
25.05.00
|
Circulation function: | |
Attachments: |
Bug 32051: Rename Library to Contact for one public library
Bug 32051: Rename Library to Contact for one public library Bug 32051: (follow-up) Make the same change to page title Bug 32051: Rename Library to Contact for one public library Bug 32051: (follow-up) Make the same change to page title |
Description
Marcel de Rooy
2022-10-31 12:21:40 UTC
I think it's a good idea. "Libraries" is inaccurate and "Library" seems weird. Created attachment 178385 [details] [review] Bug 32051: Rename Library to Contact for one public library Note: I am using $rs in the script to prevent searching branches again unneeded. And pass public_count to opac-library.tt to prevent another call of Branches.all (for bread crumbs), like masthead already does btw. Test plan: [1] Have two (or more) public libraries. Verify that you see Libraries on the OPAC home page and that when clicking Libraries, you first have the library list. Are the bread crumbs as expected? Click a library on that list. Do you get its details? Are the bread crumbs as expected? [2] Now have only one public library. Verify that you see Contact on the home page. And that when clicking Contact you go directly to the library details without the intermediate library list. Are the bread crumbs still as expected (with Contact instead of Libraries)? Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Created attachment 178403 [details] [review] Bug 32051: Rename Library to Contact for one public library Note: I am using $rs in the script to prevent searching branches again unneeded. And pass public_count to opac-library.tt to prevent another call of Branches.all (for bread crumbs), like masthead already does btw. Test plan: [1] Have two (or more) public libraries. Verify that you see Libraries on the OPAC home page and that when clicking Libraries, you first have the library list. Are the bread crumbs as expected? Click a library on that list. Do you get its details? Are the bread crumbs as expected? [2] Now have only one public library. Verify that you see Contact on the home page. And that when clicking Contact you go directly to the library details without the intermediate library list. Are the bread crumbs still as expected (with Contact instead of Libraries)? Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 178404 [details] [review] Bug 32051: (follow-up) Make the same change to page title Signed-off-by: Owen Leonard <oleonard@myacpl.org> (In reply to Owen Leonard from comment #4) > Created attachment 178404 [details] [review] [review] > Bug 32051: (follow-up) Make the same change to page title > > Signed-off-by: Owen Leonard <oleonard@myacpl.org> Great. Thanks Created attachment 179051 [details] [review] Bug 32051: Rename Library to Contact for one public library Note: I am using $rs in the script to prevent searching branches again unneeded. And pass public_count to opac-library.tt to prevent another call of Branches.all (for bread crumbs), like masthead already does btw. Test plan: [1] Have two (or more) public libraries. Verify that you see Libraries on the OPAC home page and that when clicking Libraries, you first have the library list. Are the bread crumbs as expected? Click a library on that list. Do you get its details? Are the bread crumbs as expected? [2] Now have only one public library. Verify that you see Contact on the home page. And that when clicking Contact you go directly to the library details without the intermediate library list. Are the bread crumbs still as expected (with Contact instead of Libraries)? Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Created attachment 179052 [details] [review] Bug 32051: (follow-up) Make the same change to page title Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Pushed for 25.05! Well done everyone, thank you! |