Bug 32061: Remove spans from page titles for adding/editing Z39.50/SRU servers
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 16 Nov 2022 22:47:35 +0000 (22:47 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 15 Dec 2022 14:01:39 +0000 (14:01 +0000)
commit8da2f66f421faa1b0a965f970122eb26678bcdce
treeb3bf34f927f8f3d11c48d652b4c1eb985382d456
parenta5c960ca95be8f4f92ad332ef469a9648d985a2e
Bug 32061: Remove spans from page titles for adding/editing Z39.50/SRU servers

In another bug we added spans to ease translations in the PROCESS
block for server types. This PROCESS is used in several places,
but only creates a problem when used in the title.

The patch removes the spans using the remove TT filter avoiding
having to change the PROCESS and causing a string change.

To test:
* Go to administration > Z39.50/SRU servers
* Add a new Z39.50 and a SRU server or look at the form
* The page title in the browser tab will show the span
* Same for editing an existing Z39.50 or SRU server
* Apply the patch
* Verify the page titles are now correct

Hint: you can see the full page title when hovering on the tab.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Hammat Wele <hammat@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 5dff3886b3117205a49badd03ca6f234e4531936)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt