]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sat, 13 May 2017 12:09:17 +0000 (14:09 +0200)
commit609c2700886d32cf206726bdcd48e0f31fd7cd98
tree020e61cee3188b0ae1a493ba9f478eaea7d1583d
parentc8adec8e46ac16e7981e842c4e73923e19dd5910
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>
(cherry picked from commit dddd2691e704654fd656c5d519e029c5dfc3ecc9)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
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]