]> git.koha-community.org Git - koha.git/commit
Bug 7813: (follow-up) improvements for deleting local cover images
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 20 Sep 2013 11:06:48 +0000 (13:06 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 21 Sep 2013 18:11:13 +0000 (18:11 +0000)
commit1dc7d421bc87e3cf027161b08fbb44875c778f49
tree25fc9de2333eeb6ae9368239abe5863c2a26b239
parentab362b93a710bddcd385a6a468af6ff682673367
Bug 7813: (follow-up) improvements for deleting local cover images

This patch:
- displays a js alert if a problem occurred on deleting the
  image on the server.
- adds a class for the new span (in order to avoid future problem, if
  someone adds a new span).
- adds a title for the [X] link.
- deal with the upload_local_cover_images permission (don't display the
  delete link if the logged in user does not have it).
- changes the license version.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
I like the ehancements to the original patch and work as expected.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
svc/cover_images