Bugzilla – Attachment 37489 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]
Bug 8033 - Remove unused template file.
Bug-8033---Remove-unused-template-file.patch (text/plain), 2.53 KB, created by
Mark Tompsett
on 2015-04-03 18:27:32 UTC
(
hide
)
Description:
Bug 8033 - Remove unused template file.
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2015-04-03 18:27:32 UTC
Size:
2.53 KB
patch
obsolete
>From 9a9d469987b55067ea3003649f912f66b5f2d072 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 22 Oct 2013 14:58:25 -0700 >Subject: [PATCH] Bug 8033 - Remove unused template file. > >Bugs 11349 and 12062 implements part 1 and 2 of the 3 things >listed before. > >This patch removes 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 >Reimplementation of Kyle's follow-up, minus the addition of "<titleunused 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 >--- > .../opac-tmpl/bootstrap/en/modules/sco/receipt.tt | 46 ---------------------- > 1 file changed, 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.9.1
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