]> git.koha-community.org Git - koha.git/commit
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)
committerMason James <mtj@kohaaloha.com>
Wed, 24 May 2017 01:45:01 +0000 (13:45 +1200)
commit56b2d75e385ab502588a38e4a8e79907a2d52818
tree6e5034361068bb12682976db2cdf890b9ea183e3
parent895767c146e463d231f4cc95a8e45149b5a51359
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: Mason James <mtj@kohaaloha.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]