Koha/koha-tmpl/intranet-tmpl/prog/en/modules/ill/log/status_change.tt
Josef Moravec 3b01a6d063 Bug 20750: (QA follow-up) Fix templates
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-03-15 19:07:08 +00:00

12 lines
511 B
Text

[% USE KohaDates %]
<p>
[% log.timestamp | $KohaDates with_hours => 1 %] : <b>Status changed</b>
[% IF log.info.status_before %]
[% before = log.info.status_before %]
[% display_before = log.aliases.$before ? log.aliases.$before.lib : request.capabilities.$before.name %]
from &quot;[% display_before | html %]&quot;
[% END %]
[% after = log.info.status_after %]
[% display_after = log.aliases.$after ? log.aliases.$after.lib : request.capabilities.$after.name %]
to &quot;[% display_after | html %]&quot;
</p>