Restore look of acct summary table; fix whitespace user/rsteed/acct_summary_padding
authorRemington Steed <rjs7@calvin.edu>
Wed, 10 Jul 2013 18:41:47 +0000 (14:41 -0400)
committerRemington Steed <rjs7@calvin.edu>
Wed, 10 Jul 2013 19:23:59 +0000 (15:23 -0400)
This commit makes a small adjustment to Pasi's cleaner layout of the
Account Summary table. It also fixes minor whitespace issues that cause
warnings when applying his patch.

Signed-off-by: Remington Steed <rjs7@calvin.edu>
Open-ILS/src/templates/opac/css/style.css.tt2
Open-ILS/src/templates/opac/parts/myopac/main_base.tt2

index f73aaa2..63c20bf 100644 (file)
@@ -797,6 +797,10 @@ div.result_place_hold {
     text-transform: uppercase;
 }
 
+.acct_sum_table tr {
+    border-bottom: 2px solid white;
+}
+
 .acct_sum_table td {
     padding: 1em;
 }
index 9c76d8d..b14572e 100644 (file)
             <span class="alert">[% l("Your library card expired on [_1]. Please contact a librarian to resolve this issue.", fmt_expire_date) %]</span>
             [% END %]
             </div>
-           <table class="acct_sum_table">
-                  <tr>
+            <table class="acct_sum_table">
+                <tr>
                         <td>[% l("Items Currently Checked out ([_1])", ctx.user_stats.checkouts.total_out) %]</td>
                         <td align="right">
                             <a href="[% mkurl(ctx.opac_root _ '/myopac/circs') %]">[% l("View All") %]</a>
                         </td>
-                  </tr>
-                  <tr>
+                </tr>
+                <tr>
                         <td>[% l('Items Currently on Hold ([_1])', ctx.user_stats.holds.total) %]</td>
                         <td align="right">
                             <a href="[% mkurl(ctx.opac_root _ '/myopac/holds') %]">[% l('View All') %]</a>
                         </td>
-                  </tr>
-                  <tr>
+                </tr>
+                <tr>
                         <td>[% l('Items ready for pickup ([_1])', ctx.user_stats.holds.ready) %]</td>
                         <td align="right">
                             <a href="[% mkurl(ctx.opac_root _ '/myopac/holds', {available => 1}) %]">[% l('View All') %]</a>
                         </td>
-                  </tr>
-           </table>
+                </tr>
+            </table>
         </div>
     </div>
     <div class="clear-both"></div>