Skip to content

Commit

Permalink
Cut the cycle totals cuz I don't trust them
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Nov 7, 2014
1 parent 9642bb0 commit 3a37d9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,51 +62,6 @@ <h4>Expenditures</h4>
</div>
</div>

<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{% if committee.total_contributions_by_cycle %}
<h4>By cycle</h4>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>Year</th>
<th class="right">Total</th>
</tr>
</thead>
<tbody>
{% for year, total in committee.total_contributions_by_cycle %}
<tr>
<td>{{ year }}</td>
<td class="right">${{ total|floatformat:0|intcomma }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{% if committee.total_expenditures_by_cycle %}
<h4>By cycle</h4>
<table class="table table-bordered table-hover">
<thead>
<tr>
<th>Year</th>
<th class="right">Total</th>
</tr>
</thead>
<tbody>
{% for year, total in committee.total_expenditures_by_cycle %}
<tr>
<td>{{ year }}</td>
<td class="right">${{ total|floatformat:0|intcomma }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
</div>

<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
{% if committee.total_contributions_by_year %}
Expand Down
1 change: 0 additions & 1 deletion calaccess_campaign_browser/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,4 @@
),
# API
url(r'^api/', include(v1_api.urls)),

)

0 comments on commit 3a37d9e

Please sign in to comment.