Bugzilla – Attachment 37651 Details for
Bug 8033
remove unused sco/receipt template file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 8033 - Remove unused template file.
PASSED-QA-Bug-8033---Remove-unused-template-file.patch (text/plain), 2.60 KB, created by
Kyle M Hall (khall)
on 2015-04-10 14:11:07 UTC
(
hide
)
Description:
[PASSED QA] Bug 8033 - Remove unused template file.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-04-10 14:11:07 UTC
Size:
2.60 KB
patch
obsolete
>From ab574dbaf1a3f4359844d025a1b6cd037caef38d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 22 Oct 2013 14:58:25 -0700 >Subject: [PATCH] [PASSED QA] Bug 8033 - Remove unused template file. > >All prog related patches were obsoleted from this bug. > >Bug 11349 changed the code to have the proper template name >used (sco/printslip.tt instead of sco/printsplit.tmpl). > >Bug 12062 moved the hard coded string logic into the template, >and passed the borrower number. > >This only leaves the patch to remove the unused receipt.tt file. > >TEST PLAN >--------- >1) Confirm the file isn't used. > $ git grep "sco/receipt" | grep -v "\.po:" > -- this should list nothing, because there are still po > files referencing it, but they aren't needed either. >2) ls ./koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/receipt.tt > -- there should be a file >3) apply patch >4) repeat step 2 > -- the file should be removed > >Followed test plan, file does no longer exist. >Signed-off-by: Marc Veron <veron@veron.ch> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../opac-tmpl/bootstrap/en/modules/sco/receipt.tt | 46 -------------------- > 1 files changed, 0 insertions(+), 46 deletions(-) > delete mode 100644 koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/receipt.tt > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/receipt.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/receipt.tt >deleted file mode 100644 >index 3a28694..0000000 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/receipt.tt >+++ /dev/null >@@ -1,46 +0,0 @@ >-<!DOCTYPE html> >-[% IF ( bidi ) %]<html lang="[% lang %]" dir="[% bidi %]">[% ELSE %]<html lang="[% lang %]">[% END %] >-<head> >-<title>RECEIPT</title> >-<script type="text/javascript"> >- x = 0; >- function callPrint(){ >- while (x == 0){ >- self.print(); >- javascript:window.opener.location='/cgi-bin/koha/sco/sco-main.pl?logout.x=1'; >- x = 1; >- } >- } >- >- function closeNow(){ >- if (x == 1){ >- setTimeout('self.close()',1000); >- } >- } >-</script> >- >-[% IF ( SCOUserCSS ) %]<style type="text/css">[% SCOUserCSS %]</style>[% END %] >-[% IF ( SCOUserJS ) %]<script type="text/javascript">[% SCOUserJS %]</script>[% END %] >- >-</head> >- >-<body onLoad="callPrint(); closeNow();"> >- >-[% branchname %]<br><br> >-[% cardnumber %]<br> >- >-[% IF ( todayissues ) %]<br> >-<p><b>Today's checkouts</b></p> >-[% FOREACH todayissue IN todayissues %]<br> >-[% todayissue.title |html %]<br> >-[% todayissue.author %]<br> >-[% todayissue.dd %]<br> >-[% todayissue.barcode %]<br> >-[% END %] >-[% END %] >- >-</body> >-</html> >- >-[% BLOCK jsinclude %] >-[% END %] >-- >1.7.2.5
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 8033
:
10648
|
10649
|
10677
|
10678
|
11112
|
12316
|
13559
|
13716
|
14024
|
14025
|
14026
|
14091
|
14094
|
14095
|
14096
|
14097
|
14098
|
14099
|
14100
|
14101
|
14102
|
14134
|
14496
|
14498
|
17373
|
17374
|
18053
|
18054
|
22301
|
22302
|
37489
|
37490
|
37497
| 37651