@@ -, +, @@
make sure they have all the restrictions
mentioned above as well)
---
.../prog/en/includes/patron_messages.inc | 11 +++++++++-
.../bootstrap/en/modules/opac-reserve.tt | 22 +++++++++++++++++--
.../bootstrap/en/modules/opac-user.tt | 22 +++++++++++++++++--
3 files changed, 50 insertions(+), 5 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc
@@ -70,8 +70,17 @@
[% IF debarredcomment.search('OVERDUES_PROCESS') %]
Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %]
[% ELSE %]
- [% FOR restriction IN patron.restrictions %]
+ [% FOREACH restriction IN patron.restrictions %]
+ [% IF restriction.expiration %]
+ [% restriction.expiration | $KohaDates %]
+ [% ELSE %]
+ Indefinite
+ [% END %]
+ [% IF restriction.comment %]
[% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %]
+ [% ELSE %]
+ [% restriction.type.display_text | html %]
+ [% END %]
[% END %]
[% END %]
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
@@ -47,13 +47,31 @@