Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

adding links to landing page #715

Merged
merged 1 commit into from
Sep 21, 2015
Merged

adding links to landing page #715

merged 1 commit into from
Sep 21, 2015

Conversation

noahmanger
Copy link
Contributor

Adds correct links to the data landing page.

  • Changed "Top contributions from individuals this year" to "Contributions from individuals this year" because we can't sort by size in the url.
  • "All PACs active in 2015-2016" links to show all Lobbyist, Leadership, PAC (non), PAC (qualified), PAC (non-contribution, nonqualified), PAC (non-contribution, qualified)
  • "All independent eexpenditure committees active in 2015-2016" links to show all Super PACs, single candidate independent expenditure, and independent expenditor (person or group)

Resolves #705

@@ -50,7 +50,7 @@ <h2 class="card__title">Receipt data</h2>
<div class="card__content">
<h2 class="card__title">Receipt data</h2>
<ul class="card__links list--bulleted">
<li><a href="{{ url_for('receipts', is_individual='true', min_date='1/01/2015', max_date='12/31/2015') }}">Top contributions from individuals this year &raquo;</a></li>
<li><a href="{{ url_for('receipts', is_individual='true', contributor_type='individual', min_date='1/01/2015', max_date='12/31/2015') }}">Contributions from individuals this year &raquo;</a></li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer not to use hard-coded values. I'll update this on merge.

@jmcarp jmcarp merged commit 14daa12 into develop Sep 21, 2015
@jmcarp jmcarp removed the plz-review label Sep 21, 2015
@jmcarp jmcarp deleted the feature/data-landing-links branch October 2, 2015 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants