From eb0196cda3f93eeb2289dd4e734ca9a9a1bf40b6 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Sat, 1 May 2010 13:40:20 -0400 Subject: [PATCH] bug 4396: create new OPAC template include for item status As part of preparing to work on bug 4396 (item level item types not working correctly when biblioitem-level item type is not for loan), moving the item status template logic to a separate include to make it easier to work with. Signed-off-by: Galen Charlton --- .../prog/en/includes/item-status.inc | 36 +++++++++++++++++++ .../prog/en/modules/opac-detail.tmpl | 35 ++---------------- 2 files changed, 38 insertions(+), 33 deletions(-) create mode 100644 koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc new file mode 100644 index 0000000000..f242f0191d --- /dev/null +++ b/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc @@ -0,0 +1,36 @@ + + Not for loan () + + Not for loan () + + + + Checked out to + + Checked out + + + + + + + + " alt="" title=""> + + Item lost + + + + Item withdrawn + + Item damaged + + In transit from + to since + + On holdAvailable + + + + + diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl index 46eb334641..d7a4ccec40 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tmpl @@ -390,39 +390,8 @@ YAHOO.util.Event.onContentReady("furtherm", function () { - - Not for loan () - - Not for loan () - - - - Checked out to - - Checked out - - - - - - - " alt="" title="">Item lost - - - Item withdrawn - - Item damaged - - In transit from - to since - - On holdAvailable - - - - - - + + &item=">Fix Itemtype -- 2.39.5