Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ
Owen Leonard 50ff4f4a94 Bug 10081: add library name to IndependentBranches error message
With IndependentBranches turned on, if you try to check out an item
which belongs to another library you will get an error message which is
missing the library name. This patch corrects the problem by passing the
necessary variable to the template and outputting the library name using
the KohaBranchName TT plugin.

To test, turn on IndependentBranches and try to check out an item
belonging to another library (note that you must test with a staff user
who is not a superlibrarian). The error message you see should include
the name of the library to which the item belongs:

"This item belongs to Nelsonville and cannot be checked out from this
location."

Checkouts of items belonging to the library should be unaffected.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-08-20 14:26:25 +00:00
..
bookcount.tt Bug 9140 - Untranslatable strings in item circulation history 2012-12-22 16:02:54 -05:00
branchoverdues.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) 2012-03-22 18:12:27 +01:00
branchtransfers.tt Bug 2780 - Capitalize strings consistently (Circulation) 2012-04-10 10:03:30 +02:00
circulation-home.tt Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
circulation.tt Bug 10081: add library name to IndependentBranches error message 2013-08-20 14:26:25 +00:00
overdue.tt Bug 10368: (followup) tweak label 2013-06-07 08:56:48 -07:00
pendingreserves.tt Bug 8508: Followup: Simplify the separateData js function 2013-03-30 08:14:10 -04:00
printslip.tt Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
reserveratios.tt Bug 9984: Remove server-side sort on the hold ratios table 2013-04-21 20:44:01 -04:00
returns.tt Bug 10362: ensure that all messages and alerts are shown upon checkin 2013-08-12 15:18:46 +00:00
selectbranchprinter.tt Bug 10054 - When SingleBranchMode is enabled, allow superlibrarians to set logged in library 2013-05-12 10:11:42 -04:00
stats.tt Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) 2012-03-22 18:12:27 +01:00
transfer-slip.tt Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
transferstoreceive.tt Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
view_holdsqueue.tt Bug 5825 - Add Item Type column to Holds Queue report 2013-08-16 15:15:31 +00:00
waitingreserves.tt Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00