[Patches] [PATCH] Bug 7337 - Followup - Correcting instances of "debar" that crept back in.

koha-patchbot at kohaaloha.com koha-patchbot at kohaaloha.com
Sat Dec 10 01:05:33 NZDT 2011


From: Liz Rea <wizzyrea at gmail.com>
Date: Thu, 8 Dec 2011 10:21:07 -0600
Subject: [PATCH] Bug 7337 - Followup - Correcting instances of "debar" that crept back in.
Content-Type: text/plain; charset="utf-8"

To test:
Restrict one of your patrons -
Make sure that on memberentrygen.tt (Edit Patron) the radio button label says "Restricted"
Make sure that on moremember.tt (Patron detail) the button to lift debarment says "Restricted"
---
 .../prog/en/modules/members/memberentrygen.tt      |    2 +-
 .../prog/en/modules/members/moremember.tt          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
index b9371b6..62ecace 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -1130,7 +1130,7 @@
             </li>
 			[% END %]
 			<li>
-				<label for="yesdebarred" class="radio">Debarred: </label>
+				<label for="yesdebarred" class="radio">Restricted: </label>
 				[% IF ( debarred ) %]
 				<label for="yesdebarred">Yes </label>
 				<input type="radio" id="yesdebarred" name="debarred" value="1" checked="checked"/>
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 454032c..a9bfcc2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt
@@ -168,7 +168,7 @@ function validate1(date) {
             <li>Patron is restricted[% IF ( userdebarreddate ) %] until [% userdebarreddate%] [% IF (debarredcomment ) %]([% debarredcomment %])[% END %][% END %]
             <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post">
                 <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
-                <input type="submit" value="Lift Debarment" />
+                <input type="submit" value="Lift Restriction" />
             </form>
             </li>
         [% END %]
-- 
1.7.2.5


More information about the Patches mailing list