projects
/
evergreen
/
tadl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d471371
)
pay fines link
author
William Rockwood
<wrockwood@tadl.org>
Tue, 24 Jul 2012 15:13:11 +0000
(11:13 -0400)
committer
William Rockwood
<wrockwood@tadl.org>
Tue, 24 Jul 2012 15:13:11 +0000
(11:13 -0400)
- Display a "pay fines online" button when fines are >0 on the
/etc/opac/myopac/main page, below the fines listing.
Signed-off-by: William Rockwood <wrockwood@tadl.org>
templates_tadlskin/opac/myopac/main.tt2
patch
|
blob
|
history
diff --git
a/templates_tadlskin/opac/myopac/main.tt2
b/templates_tadlskin/opac/myopac/main.tt2
index
793653b
..
1110cd6
100644
(file)
--- a/
templates_tadlskin/opac/myopac/main.tt2
+++ b/
templates_tadlskin/opac/myopac/main.tt2
@@
-180,5
+180,12
@@
class="opac-button" />
</div>
[% END %]
+ [% IF ctx.fines.grocery.size OR ctx.fines.circulation.size %]
+ <div class="pad-top-ten">
+ <form action="https://www.tadl.org/pay/pay.cgi" method="POST">
+ <input type="submit" class="opac-button" value="Pay fines online" />
+ </form>
+ </div>
+ [% END %]
</form>
[% END %]