From b468a1667f44ccbbed9fa6cac42d529ab778faf3 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. --- .../intranet-tmpl/prog/css/src/staff-global.scss | 29 +++++++++++++++++++++- .../intranet-tmpl/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 cef9e874c1e..afabd93ec9b 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 510d4b911ab..bbad11b15cc 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 %] @@ -268,9 +268,10 @@

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

    @@ -481,18 +482,23 @@

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