Bug 41802 - Translated text contains HTML in holds cancellation
Summary: Translated text contains HTML in holds cancellation
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Templates (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-02-09 16:38 UTC by Fridolin Somers
Modified: 2026-02-09 17:36 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fridolin Somers 2026-02-09 16:38:29 UTC
In translation we find :
"This action will cancel <span class='badge bg-danger'>%s</span> hold(s)."

HTML in translated text is not a good idea.

Also bg-danger seems nearly never used.
Better use "alert alert-warning" from Boostrap 5 around all text ?
Comment 1 Fridolin Somers 2026-02-09 16:38:54 UTC
Code moved in main since Bug 40395