Skip to content

Commit

Permalink
Merge branch 'hotfix/5701-add-2024-pres-export-links-v2' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
patphongs committed Apr 18, 2023
2 parents fa9072f + 2969741 commit 395a0ce
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion fec/data/templates/partials/browse-data/candidates.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@
<button type="button" class="js-accordion-trigger accordion__button">Presidential candidate map exports</button>
<div class="accordion__content">
<p>This data summarizes financial information disclosed by presidential candidates who have reported at least $100,000 in contributions from individuals <strong>other than the candidate</strong>.</p>
<p>The 2020 files contain financial activity through {{ monthly_coverage_date }} for presidential monthly filers and through {{ quarterly_coverage_date }} for presidential quarterly filers.</p>
<p>The {{ default_presidential_year }} files contain financial activity through the most recent filing. The historical files contain financial activity through December 31 of the corresponding election year.</p>
<h6 class="t-no-rules">Overall candidate summary</h6>
<i class="icon i-download icon--absolute--left"></i>
<div class="content__section--indent-left">
<ul class="list--flat-bordered u-no-margin">
<li><a href="/files/bulk-downloads/Presidential_Map/2024/2024_overall_summary.csv">2024</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2020/2020_overall_summary.csv">2020</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2016/2016_overall_summary.csv">2016</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2012/2012_overall_summary.csv">2012</a></li>
Expand All @@ -98,6 +99,7 @@
<i class="icon i-download icon--absolute--left"></i>
<div class="content__section--indent-left">
<ul class="list--flat-bordered u-no-margin">
<li><a href="/files/bulk-downloads/Presidential_Map/2024/Contributions_by_Size.csv">2024</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2020/Contributions_by_Size.csv">2020</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2016/Contributions_by_Size.csv">2016</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2012/Contributions_by_Size.csv">2012</a></li>
Expand All @@ -108,6 +110,7 @@
<i class="icon i-download icon--absolute--left"></i>
<div class="content__section--indent-left">
<ul class="list--flat-bordered u-no-margin">
<li><a href="/files/bulk-downloads/Presidential_Map/2024/Contributions_by_3Zip.csv">2024</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2020/Contributions_by_3Zip.csv">2020</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2016/Contributions_by_3Zip.csv">2016</a></li>
<li><a href="/files/bulk-downloads/Presidential_Map/2012/Contributions_by_3Zip.csv">2012</a></li>
Expand Down
2 changes: 2 additions & 0 deletions fec/data/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def search(request):
def browse_data(request):
monthly_coverage_date = utils.get_presidential_coverage_date("M")
quarterly_coverage_date = utils.get_presidential_coverage_date("Q")
default_presidential_year = constants.DEFAULT_PRESIDENTIAL_YEAR
return render(
request,
"browse-data.jinja",
Expand All @@ -123,6 +124,7 @@ def browse_data(request):
"social_image_identifier": "data",
"monthly_coverage_date": monthly_coverage_date,
"quarterly_coverage_date": quarterly_coverage_date,
"default_presidential_year": default_presidential_year,
},
)

Expand Down

0 comments on commit 395a0ce

Please sign in to comment.