http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9426 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #15188|0 |1 is obsolete| | --- Comment #9 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 16165 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16165&action=edit Bug 9426: Add itemtype description template plugin Like branch name template plugin KohaBranchName, add a plugin that converts itemtype code into its description. This patch adds this template plugin and a method tho instanciate a C4::ItemType object using its code. Test plan : - Choose an existing itemtype code (ie DVD) - Edit any template (ie intranet-main.tt) - Add as first line : [% USE KohaItemType %] - Add in body : itemtype=[% 'DVD' | $KohaItemType %] - Go to this page => Itemtype description is displayed next to 'itemtype=' Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.