Bug 31510

Summary: The notice template tag helper still uses <<>> sytnax.. we should move to TT instead
Product: Koha Reporter: Martin Renvoize (ashimema) <martin.renvoize>
Component: NoticesAssignee: Martin Renvoize (ashimema) <martin.renvoize>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: andrew, dcook
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15277
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 36270    
Bug Blocks: 15277, 33824    

Description Martin Renvoize (ashimema) 2022-09-02 11:31:09 UTC
The notice template param select list when working on a notice template still inserts a <<>> syntax replacement variable.. we should start using [% %] instead to encourage the adoption of TT more widely.
Comment 1 Martin Renvoize (ashimema) 2022-09-02 11:39:49 UTC
OK.. this isn't as trivial as it looks as we do special cases for 'borrower-attribute:CODE' replacements and possibly others.. as such we can't just change <<>> into [%%].
Comment 2 Martin Renvoize (ashimema) 2023-05-24 16:00:18 UTC
*** Bug 33822 has been marked as a duplicate of this bug. ***
Comment 3 Martin Renvoize (ashimema) 2024-03-07 10:49:56 UTC
Can we just deprecate the attribute syntax entirely.. it appears to be entirely undocumented.
Comment 4 Martin Renvoize (ashimema) 2024-03-07 11:04:41 UTC
No, we can't just remove it.. it's exposed in the side picker and as such is likely in use.