Lines 21-36
Link Here
|
21 |
|
21 |
|
22 |
[% IF ( messages ) %] |
22 |
[% IF ( messages ) %] |
23 |
[% FOREACH message IN messages %] |
23 |
[% FOREACH message IN messages %] |
24 |
[%- SWITCH message.type -%] |
24 |
<div class="dialog [% m.type | html %]"> |
25 |
[%- CASE 'failure' %] |
25 |
[%- SWITCH message.code -%] |
26 |
<div class="dialog error"> |
26 |
[%- CASE 'limits' %] |
27 |
<p>Cannot transfer item [% message.item.itemnumber | html %] due to transfer limits</p> |
27 |
<p>Cannot transfer item [% message.item.itemnumber | html %] due to transfer limits</p> |
28 |
</div> |
28 |
[%- CASE 'enqueued' -%] |
29 |
[%- CASE 'enqueu' -%] |
29 |
<p>Item [% message.item.itemnumber | html %] queued behind [% message.found_transfer.reason | html %] transfer to [% Branches.GetName(message.found_transfer.tobranch) | html %]</p> |
30 |
<div class="dialog message"> |
30 |
[% END %] |
31 |
<p>Item [% message.item.itemnumber | html %] queued behind [% message.found_transfer.reason | html %] transfer to [% Branches.GetName(message.found_transfer.tobranch) | html %]</p> |
31 |
</div> |
32 |
</div> |
|
|
33 |
[% END %] |
34 |
[% END %] |
32 |
[% END %] |
35 |
[% END %] |
33 |
[% END %] |
36 |
|
34 |
|
37 |
- |
|
|