Bug 18419 - Broken patron-blank image in viewlog.tt
authorOwen Leonard <oleonard@myacpl.org>
Tue, 25 Apr 2017 16:16:49 +0000 (16:16 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 28 Apr 2017 10:56:10 +0000 (06:56 -0400)
commitdddd2691e704654fd656c5d519e029c5dfc3ecc9
tree285f078c63408b5657f9380a3d80891100fad9c7
parentac2e6b1b2658405db63a17527895d3d7d46ec811
Bug 18419 - Broken patron-blank image in viewlog.tt

Because of a variable name collision the blank patron image doesn't
display in viewlog.tt. This patch moves the image from the template to
the stylesheet to avoid this problem.

This patch also replaces the blank patron image PNG file with an SVG
file. SVG support is wide enough to begin using whereever possible.

This patch also removes some inline CSS from circ-menu.inc and puts it
in the global stylesheet.

To test, apply the patch and clear your browser cache if necessary.

- Enable the patronimages system preference.
- View a patron account which lacks a patron image. All views (details,
  fines, notices, etc) should show the "blank" patron image, including
  the modification log view.
- View a patron account which has a patron image and check that it still
  displays correctly in all views.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
koha-tmpl/intranet-tmpl/prog/img/patron-blank.min.svg [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/img/patron-blank.png [deleted file]