Bug 32023: Remove hr in OpacNav for CMS pages
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 6 Feb 2023 21:44:03 +0000 (22:44 +0100)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Wed, 8 Feb 2023 16:27:08 +0000 (16:27 +0000)
commitd5ef79f226b5cfed54bc27192bcec3510b03e303
tree54de82913c1f311668d46faf2d4d49733c8cae6e
parent0944eafd0d68c738cfe9fee8255a32a14fd90201
Bug 32023: Remove hr in OpacNav for CMS pages

In a page created with the new Pages tool, there is a
<hr> above the OpacNav block.
This hr is not present on other OPAC pages and is
removed by this patch.

To test:
1. Go to Tools > Pages > New entry
2. Create a page and save
3. Copy the OPAC link
4. Go to Tools > HTML customizations > New entry
5. Create an OpacNav entry with the link to the page
6. Go to the OPAC main page
   --> Notice how the left navigation section looks
7. Click on the link on the left to go to the page
   --> an horizontal line appears above OpacNav
8. Apply patch
9. Repeat test - the horizontal line should be gone now

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 9b37c6fd35084b3c51452e2c2d353ed408356d97)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-page.tt