<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -14,7 +14,7 @@ module SubscriptionsHelper
     classes &lt;&lt; &quot;negative&quot; if balance &lt; 0
     classes &lt;&lt; &quot;current_balance&quot;
 
-    if container.is_a?(Account) &amp;&amp; container.credit_card?
+    if container.is_a?(Account) &amp;&amp; container.credit_card? &amp;&amp; !container.limit.blank?
       percentage_used = container.limit.abs.to_i == 0 ? 100 :
         ((container.balance.abs.to_f / container.limit.abs.to_f) * 100).to_i
       classes &lt;&lt; if percentage_used &gt;= Account::DEFAULT_LIMIT_VALUES[:critical]:  &quot;critical&quot;</diff>
      <filename>app/helpers/subscriptions_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -266,10 +266,6 @@ td.number, th.number {
   white-space: nowrap;
 }
 
-td.current_balance, th.current_balance {
-  color: #999;
-}
-
 span.real_balance {
   font-size: 80%;
   color: #999;
@@ -281,7 +277,7 @@ span.check {
 }
 
 .negative {
-  color: red;
+  color: red !important;
 }
 
 .critical {</diff>
      <filename>public/stylesheets/money.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a42095f712e7fc160e30bc544a8413263568e2d3</id>
    </parent>
  </parents>
  <author>
    <name>Kieran Pilkington</name>
    <email>kieran@katipo.co.nz</email>
  </author>
  <url>http://github.com/jamis/bucketwise/commit/c6f6dd118a70cd7e3ec374ca4a564682f6b71a9b</url>
  <id>c6f6dd118a70cd7e3ec374ca4a564682f6b71a9b</id>
  <committed-date>2009-05-25T20:49:56-07:00</committed-date>
  <authored-date>2009-05-19T16:36:16-07:00</authored-date>
  <message>bugfix: when upgrading and the limit was nil, errors would occur. The negative class also wasn't having much effect and the light grey number were hardly visible</message>
  <tree>d90acb250e546e713323cd3033f303bb3175f5a1</tree>
  <committer>
    <name>Jamis Buck</name>
    <email>jamis@37signals.com</email>
  </committer>
</commit>
