@@ -, +, @@ is something that requires attention. effort which holds are in waiting status. => SUCCESS: Holds tab label has a visual aid to indicate that something requires attention, and in holds table it's easy to recognize waiting holds without reading effort. --- .../bootstrap/en/includes/holds-table.inc | 1 + .../bootstrap/en/modules/sco/sco-main.tt | 16 ++++++++++++++-- opac/sco/sco-main.pl | 6 ++++++ 3 files changed, 21 insertions(+), 2 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/holds-table.inc @@ -104,6 +104,7 @@ Status: [% IF ( HOLD.is_waiting ) %] + [% IF ( HOLD.is_at_destination ) %] [% IF ( HOLD.found ) %] Item waiting at [% HOLD.branch.branchname | html %] --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt @@ -9,9 +9,14 @@ [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha [% END %] › Self checkout - +[% IF ( Koha.Preference('OpacFavicon') ) %] + +[% ELSE %] + +[% END %] [% Asset.css("lib/bootstrap/css/bootstrap.min.css") | $raw %] [% Asset.css("lib/jquery/jquery-ui.css") | $raw %] +[% Asset.css("lib/font-awesome/css/font-awesome.min.css") | $raw %] [% Asset.css("css/sco.css") | $raw %] [% IF ( Koha.Preference('OPACUserCSS') ) %][% END %] [% IF ( Koha.Preference('SCOUserCSS') ) %][% END %] @@ -254,7 +259,14 @@
--- a/opac/sco/sco-main.pl +++ a/opac/sco/sco-main.pl @@ -299,6 +299,11 @@ if ($borrower) { } my $holds = $patron->holds; + my $waiting_holds_count = 0; + + while(my $hold = $holds->next) { + $waiting_holds_count++ if $hold->is_waiting; + } $template->param( validuser => 1, @@ -310,6 +315,7 @@ if ($borrower) { patronid => $patronid, patronlogin => $patronlogin, patronpw => $patronpw, + waiting_holds_count => $waiting_holds_count, noitemlinks => 1 , borrowernumber => $borrower->{'borrowernumber'}, SuspendHoldsOpac => C4::Context->preference('SuspendHoldsOpac'), --