[Koha-patches] [PATCH] Bug 5436 Followup : expiry message was badly displayed
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Fri Jul 8 19:08:20 CEST 2011
This patch assigns the comment expressed
---
circ/circulation.pl | 2 +-
.../prog/en/modules/circ/circulation.tt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/circ/circulation.pl b/circ/circulation.pl
index 24adeeb..21fd243 100755
--- a/circ/circulation.pl
+++ b/circ/circulation.pl
@@ -640,7 +640,7 @@ $template->param(
printername => $printer,
firstname => $borrower->{'firstname'},
surname => $borrower->{'surname'},
- dateexpiry => format_date($newexpiry),
+ newexpiry => format_date($newexpiry),
expiry => format_date($borrower->{'dateexpiry'}),
categoryname => $borrower->{description},
address2 => $borrower->{'address2'},
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
index afa6ec5..043c3c8 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
@@ -226,7 +226,7 @@ function refocus(calendar) {
</form>
</div>
-[% IF ( dateexpiry ) %]<div class="dialog message">Patron's account has been renewed until [% dateexpiry %]</div>[% END %]
+[% IF ( newexpiry ) %]<div class="dialog message">Patron's account has been renewed until [% newexpiry %]</div>[% END %]
[% IF ( NEEDSCONFIRMATION ) %]
<div class="yui-g">
--
1.7.1
More information about the Koha-patches
mailing list