Bug 10362: ensure that all messages and alerts are shown upon checkin
If an item is returned and has mutiple error or warnings (e.g., it both needs to be transferred and the patron was debarred in the course of the return), because of a bug in the template, not all of the messages would be displayed. This patch changes the template to show both messages and alerts. Test plan : - Perform an checkout that will a checkin : * need a transfert (return in a different branch) * set user debarred (depends on issuing rules) - Perform check-in => You get tranfert message and debarment alert Signed-off-by: Srdjan <srdjan@catalyst.net.nz> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com> (cherry picked from commit5192fd81ad) Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> (cherry picked from commit8525d49e06) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> (cherry picked from commit8525d49e06)
This commit is contained in:
parent
291ce17fa8
commit
729cd95fc5
|
|
@ -311,7 +311,7 @@ $(document).ready(function () {
|
|||
</form>
|
||||
</div>
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% END %]
|
||||
|
||||
[% IF ( errmsgloop ) %]
|
||||
<div class="dialog alert">
|
||||
|
|
@ -347,7 +347,6 @@ $(document).ready(function () {
|
|||
[% END %]
|
||||
[% END %]
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
<div id="exemptfines" class="dialog message" style="display:none;">
|
||||
<p>Fines for returned items are forgiven.</p>
|
||||
|
|
|
|||
Loading…
Reference in New Issue