Koha/koha-tmpl
Owen Leonard b36d3bc796 Bug 10225 - If an item isn't editable, don't show the onclick Edit/Delete menu
The user should not be shown edit/delete links when clicking on a row in
additems which they cannot edit because of the IndependantBranches
setting. This patch adds a class to the row to exclude such rows in the
JavaScript onclick handler.

To test:

- Turn IndependantBranches on and edit items for a title which
  has holdings from various branches including your own.
- Click a row for an item which is held by your library. You should see
  the "Edit/Delete" links appear.
- Click a row for an item which is held by another library. No links
  should appear.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All test pass

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests and QA script pass.
Changes to the templates include no string changes.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-12 10:09:36 -04:00
..
intranet-tmpl Bug 10225 - If an item isn't editable, don't show the onclick Edit/Delete menu 2013-05-12 10:09:36 -04:00
opac-tmpl Bug 9679 - can't place hold from cart in CCSR 2013-05-12 09:57:53 -04:00
favicon.ico
index.html
intranet.html
opac.html
templates.readme