https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39716 --- Comment #14 from Lisette Scheer <lisette@bywatersolutions.com> --- Created attachment 211803 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211803&action=edit Bug 39716: (follow-up) Always show the line numbers next to the message body The line numbers next to the message body were only shown when a problem was found on a line, and removed once the template had none. Following feedback from users, they are now always shown: they help find a line whatever the problems, and the message body no longer moves sideways when they appear or disappear. The lines with problems are highlighted as before, and the highlights are cleared when the problems are fixed. The line numbers follow the lines as they are edited, as before, and are rendered when the panel of a template is opened. Test plan: 1. Apply the patch, run yarn build and restart_all 2. Edit a notice and open its Email template: => Line numbers are shown next to the message body, without highlights 3. Add lines to the message body: => The line numbers follow 4. Add [% IF x %] on a new line and click "Check template": => The line is highlighted in red 5. Remove it and click "Check template" again: => The line numbers stay, without highlights 6. Open another template of the notice (e.g. Print): => Its line numbers are shown too 7. yarn cypress run --spec t/cypress/integration/Tools/NoticeValidation_spec.ts Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.