Bug 31510 - The notice template tag helper still uses <<>> sytnax.. we should move to TT instead
Summary: The notice template tag helper still uses <<>> sytnax.. we should move to TT ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Martin Renvoize
QA Contact: Testopia
URL:
Keywords:
: 33822 (view as bug list)
Depends on: 36270
Blocks: 15277 33824
  Show dependency treegraph
 
Reported: 2022-09-02 11:31 UTC by Martin Renvoize
Modified: 2024-03-07 11:04 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Renvoize 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 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 2023-05-24 16:00:18 UTC
*** Bug 33822 has been marked as a duplicate of this bug. ***
Comment 3 Martin Renvoize 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 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.