<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,7 +3,7 @@
     = render :partial =&gt; 'donations/fully_funded'
   - when current_user &amp;&amp; (current_user.remaining_credits &gt; 0) &amp;&amp; (news_item.total_amount_allocated_by_user(current_user) &lt; current_user.max_donation_for(news_item))
     = render :partial =&gt; 'credits/credit_pitch', :locals =&gt; {:news_item =&gt; news_item}
-  - when current_user &amp;&amp; !current_user.can_donate_to?(news_item) || (news_item.total_amount_allocated_by_user(current_user) &gt;= current_user.max_donation_for(news_item))
+  - when current_user &amp;&amp; (!current_user.can_donate_to?(news_item) || (news_item.total_amount_allocated_by_user(current_user) &gt;= current_user.max_donation_for(news_item)))
     = render :partial =&gt; 'donations/can_not_donate', :locals =&gt; {:news_item =&gt; news_item}
   - when news_item.funding_needed &lt; Donation::DEFAULT_AMOUNT || (current_user &amp;&amp; current_user.max_donation_for(news_item) &lt; Donation::DEFAULT_AMOUNT)
     = render :partial =&gt; 'donations/donate_variable_amount', :locals =&gt; {:news_item =&gt; news_item} </diff>
      <filename>app/views/donations/_button.html.haml</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e5bff778f772d2bdeae48c61970081f278969f37</id>
    </parent>
  </parents>
  <author>
    <name>Dan Newman</name>
    <email>dpnewman@gmail.com</email>
  </author>
  <url>http://github.com/spot-us/spot-us/commit/2a9916ca915aa629dd468e088398afd3dbe36ca6</url>
  <id>2a9916ca915aa629dd468e088398afd3dbe36ca6</id>
  <committed-date>2009-10-27T13:26:12-07:00</committed-date>
  <authored-date>2009-10-27T13:26:12-07:00</authored-date>
  <message>Fixed donation button error</message>
  <tree>a086222736690e772cb70e32669a51ad18f63a88</tree>
  <committer>
    <name>Dan Newman</name>
    <email>dpnewman@gmail.com</email>
  </committer>
</commit>
