Bugzilla – Attachment 52084 Details for
Bug 12509
Untranslatable "Restriction added by overdues process"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12509 - Untranslatable : Fix problem with Restriction added by overdues process
Bug-12509---Untranslatable--Fix-problem-with-Restr.patch (text/plain), 3.22 KB, created by
morgane alonso
on 2016-06-06 14:25:58 UTC
(
hide
)
Description:
Bug 12509 - Untranslatable : Fix problem with Restriction added by overdues process
Filename:
MIME Type:
Creator:
morgane alonso
Created:
2016-06-06 14:25:58 UTC
Size:
3.22 KB
patch
obsolete
>From 469ffe1a555466a4fa94b034eb167709695e07bf Mon Sep 17 00:00:00 2001 >From: Koha <koha@localhost> >Date: Mon, 6 Jun 2016 12:24:56 +0000 >Subject: [PATCH] Bug 12509 - Untranslatable : Fix problem with Restriction > added by overdues process > >--- > koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc | 8 +++++++- > koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt | 7 ++++++- > misc/cronjobs/overdue_notices.pl | 3 +-- > 3 files changed, 14 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc >index aea0889..3d2cc9e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/borrower_debarments.inc >@@ -51,7 +51,13 @@ > Discharge > [% END %] > </td> >- <td>[% d.comment %]</td> >+ <td> >+ [% IF d.comment.search('OVERDUES_PROCESS') %] >+ Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') %] >+ [% ELSE %] >+ [% d.comment %] >+ [% END %] >+ </td> > <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td> > [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] > <td> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index b775673..4714e42 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -187,7 +187,12 @@ function validate1(date) { > [% END %] > > [% IF ( debarredcomment ) %] >- with the explanation: <i>[% debarredcomment | html_line_break %]</i> >+ with the explanation: <i> >+ [% IF debarredcomment.search('OVERDUES_PROCESS') %] >+ Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %] >+ [% ELSE %] >+ [% debarredcomment | html_line_break %] >+ [% END %] > [% END %] > <a href="#reldebarments" onclick="$('#debarments-tab-link').click()">View restrictions</a> > </li> >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 06fec8f..050882d 100755 >--- a/misc/cronjobs/overdue_notices.pl >+++ b/misc/cronjobs/overdue_notices.pl >@@ -598,8 +598,7 @@ END_SQL > { > borrowernumber => $borrowernumber, > type => 'OVERDUES', >- comment => "Restriction added by overdues process " >- . output_pref( dt_from_string() ), >+ comment => "OVERDUES_PROCESS " . output_pref( dt_from_string() ), > } > ); > $verbose and warn "debarring $borr\n"; >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12509
:
52084
|
52129
|
52634
|
52685
|
52804