PINES Customization: Mobile view for fines payment form
authorTerran McCanna <tmccanna@georgialibraries.org>
Tue, 23 May 2017 18:23:54 +0000 (14:23 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 24 Jun 2017 19:56:34 +0000 (15:56 -0400)
Modified table so that the form design doesn't go off the side
of the screen in mobile view.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Open-ILS/src/templates/opac/myopac/main_payment_form.tt2

index 9ed377d..bf74528 100644 (file)
         <table title="[% l('Billing Information') %]">
             <tbody>
                 <tr>
-                    <td colspan='2'><strong>[% l('Billing Information') %]</strong></td>
-                    <td rowspan='13' valign='top'>
+                    <td colspan='2'>
+                    <!-- PINES Customization for mobile views -->
+                    <div class="small_view_only">
+                            <strong>[% l('Total amount to pay:') %]
+                            [% money(ctx.fines.balance_owed) %]</strong>
+                            <br/>
+                    </div>
+                    <strong>[% l('Billing Information') %]</strong></td>
+                    <td rowspan='13' valign='top' class="mobile_hide">
                         <p>[% l('Selected fines you are paying for:') %]</p>
                         <table title="[% l('List of Transactions') %]"
                             class="table_no_border_space table_no_cell_pad myopac_payments_table">