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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 13 Nov 2013 14:00:35 +0000 (11:00 -0300)
commit01cde4055dc7bf19e4918f58c83ff7a4729e8f15
treece87f0b8f6cc63d92ede70fb651f2a010f2b69b7
parent6207b60ca850c4ac969c6de70c62945b6c1d1dca
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>
(cherry picked from commit 1dc7d421bc87e3cf027161b08fbb44875c778f49)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
svc/cover_images