Bug 16065 - Use Font Awesome icons in dialog when duplicate patron is suspected
authorOwen Leonard <oleonard@myacpl.org>
Mon, 14 Mar 2016 15:07:14 +0000 (11:07 -0400)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Mon, 21 Mar 2016 21:29:22 +0000 (21:29 +0000)
commitad8e96b83b184fbd8b09253dee8c4ada088e4992
tree9177d4a6aba25b3caaf089d076a6dfb39415cbe7
parentf1e156453a1bc636914bc5c969e1665d7108cb95
Bug 16065 - Use Font Awesome icons in dialog when duplicate patron is suspected

This patch updates the new patron template to use Font Awesome icons in
the dialog which is shown when a duplicate patron is suspected.

The patch modifies the CSS rules for a dialog button with "white-space:
pre-line" so that line breaks in button text markup are treated as line
breaks on display. Allowing the text to wrap prevents the buttons from
being too wide and stacking one below the other.

To test, apply the patch and go to Patrons -> New patron.

- Attempt to save a new patron with details matching an existing patron
  in order to trigger the duplicate patron warning.
- Confirm that the resulting dialog is styled correctly.
- Confirm the behavior of both the 'Edit existing' and 'Save as new'
  buttons.

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt