JBAS-1728 Hide logout-email button when no email set
authorBill Erickson <berickxx@gmail.com>
Wed, 21 Jun 2017 20:10:48 +0000 (16:10 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/openils/var/templates_kcls/circ/selfcheck/main.tt2

index 390e3ad..cec6ff7 100644 (file)
@@ -159,7 +159,7 @@ function switchTo(str,subpage) {
           </div>
           <div class="col-md-12 pad-vert-btn">
             <button id='oils-selfck-nav-logout-email' alt='logout and email receipt' style=""
-              class="btn btn-danger">Finish & Email Receipt</button>
+              class="btn btn-danger hidden">Finish & Email Receipt</button>
           </div>
           <div class="col-md-12 pad-vert-btn">
             <button id='oils-selfck-nav-logout' alt='logout without receipt' style=""
@@ -196,4 +196,5 @@ function switchTo(str,subpage) {
   <div class="clearfix" />
 </div>
 <!-- ***************************************** END: main.tt2 ***************************************************** -->
-[% END %]
\ No newline at end of file
+[% END %]
+