[Koha-bugs] [Bug 9426] Add itemtype description template plugin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 8 19:01:45 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9426

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #14922|0                           |1
        is obsolete|                            |

--- Comment #7 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 15188
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15188&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 at bywatersolutions.com>

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


More information about the Koha-bugs mailing list