[Koha-bugs] [Bug 20962] Overhaul to notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 2 18:41:39 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20962

Barton Chittenden <barton at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barton at bywatersolutions.com

--- Comment #8 from Barton Chittenden <barton at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #5)
> <item> is going to be deprecated, you should use the TT syntax for notice
> instead.
> It basically means there will certainly no need to dev anything to support
> that (apart of adapting the template to your needs).

When I first read through the RFC, this was the point that concerned me the
most. Currently, we have the following ways of looping through detail inside of
notices:

<<items.content>>

<item> </item>

----
Detail here
----

<checkedout> </checkedout> 
<overdue> </overdue> 
<news> </news> 

Whatever CLAIMSERIAL does.

Not all of these fit nicely with <item></item> -- and having a more flexible
and consistent looping construct was one of Kyle's motivations for introducing
TT into notices. TT exists as a parsing layer in all notices right now --
rather than extending <item> </item> tags, I would prefer to extend
Koha/Template/Plugin to create more user friendly looping constricts in TT,
then deprecate <<items.content>>, <item> </item>, the '----' detail, etc.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list