From 3ef47e7876201d759e7d4676fd4d03711f6c6349 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 10 Apr 2019 11:30:47 +0000 Subject: [PATCH] Bug 23286: Improve style of hold confirmation modal This patch makes minor changes to the hold confirmation modal in the check-in template and adds some additional style. The goal is to make the information a little more readable. To test, apply the patch and rebuild the staff client CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). Check in items with the following hold statuses: - On hold for a patron at your library - On hold for a patron at another library - On hold and already marked 'Waiting' Confirm that the hold confirmation modal is clear and well-styled. Signed-off-by: Kyle M Hall Signed-off-by: Nadine Pierre Signed-off-by: Martin Renvoize Signed-off-by: Martin Renvoize --- .../prog/css/src/staff-global.scss | 29 ++++++++++++++++++- .../prog/en/modules/circ/returns.tt | 28 +++++++++++------- 2 files changed, 45 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index a4d07403a0..0c8a3751f3 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -371,7 +371,34 @@ form { &.confirm { display: block; - text-align: center; + font-size: 110%; + line-height: 130%; + + ul { + padding: 1em 0; + + li { + list-style-type: none; + } + } + + .notification_method { + background-color: #FFE; + border: 1px solid #CCC; + border-radius: 5px; + display: inline-block; + margin: .5em 0; + padding: .1em .3em; + + &.none { + background-color: #EEE; + } + } + + .hold-found-barcode { + display: inline-block; + font-size: 90%; + } } } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 8619258484..090052d0e0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -10,7 +10,7 @@ [% SET footerjs = 1 %] [% BLOCK display_bormessagepref %] [% IF ( bormessagepref ) %] -
  • Patron notification: +
  • Patron notification: [% FOREACH mtt IN bormessagepref.keys %] [%~ IF ( mtt == 'email' ) %] Email[% END ~%] [%~ IF ( mtt == 'phone' ) %] Phone[% END ~%] @@ -19,7 +19,7 @@ [% END %]
  • [% ELSE %] -
  • Patron is not notified.
  • +
  • Patron is not notified.
  • [% END %] [% END %] @@ -254,9 +254,10 @@

    Hold found (item is already waiting):
    - - [% itembarcode | html %]: [% title | html %] - + [% title | html %] +

    @@ -468,18 +469,23 @@

    Hold found:
    - - [% itembarcode | html %]: [% title | html %] - + [% title | html %] + +