Owen Leonard
c5602bf813
The changes made by Bug 7720 ("Ambiguity in OPAC Details location") broke the display of OPAC branch information tooltips by making changes to the markup which the tooltip plugin needs to function. This patch corrects the markup to enable tooltips to work again. This patch also makes changes to Items.pm so that branch information tooltips can be shown for both home and holding branches (which are optionally displayed now via the changes by Bug 7720). Before this patch the tooltip would always display the information for the holding branch regardless of the OpacLocationBranchToDisplay setting. This patch also changes the footer include, adding an alias for the jQueryUI tooltip function to prevent conflict with Bootstrap's function of the same name. To test, you must have at least two libraries configured with "OPAC info" for display in the OPAC. Modify the holdings of a title so that there is at least one item which has different holding and home branches matching your library configured above. View the detail page for that record under various values of the OpacLocationBranchToDisplay system preference: - "holding library" : The table of holdings should show a column for only the holding library. Hovering your cursor over the library name should display the branch information you configured for that library in a tooltip . - "home and holding library" : The table of holdings should show columns for both home and holding library. Hovering your cursor over each should show the corresponding library information tooltips. - "home library" : The table of holdings should show a column for only the home library. Hovering your cursor over the library name should display the branch information you configured for that library in a tooltip. Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Passes QA script and tests. Works with all settings of OpacLocationBranchToDisplay. Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> |
||
---|---|---|
.. | ||
intranet-tmpl | ||
opac-tmpl | ||
favicon.ico | ||
index.html | ||
intranet.html | ||
opac.html | ||
templates.readme |