From 6871afbba1dffe0fe9d57b5e5e9f9132be97b50f Mon Sep 17 00:00:00 2001 From: Joshua Carp Date: Tue, 1 Sep 2015 12:18:40 -0400 Subject: [PATCH 1/7] Use updated contribution aggregate from API. Depends on https://github.com/18F/openFEC/pull/1171. --- static/js/pages/committee-single.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/static/js/pages/committee-single.js b/static/js/pages/committee-single.js index 0d279979b..2b4d5046c 100644 --- a/static/js/pages/committee-single.js +++ b/static/js/pages/committee-single.js @@ -227,12 +227,7 @@ $(document).ready(function() { switch ($table.attr('data-type')) { case 'committee-contributor': path = ['committee', committeeId, 'schedules', 'schedule_a', 'by_contributor'].join('/'); - query = {}; - if (year) { - query.year = year; - } else { - query.cycle = cycle; - } + query = {cycle: cycle}; tables.initTableDeferred($table, null, path, query, committeeColumns, aggregateCallbacks, { dom: tables.simpleDOM, order: [[1, 'desc']], From b2e1a5e056927adb78dee368d479f25f61faa262 Mon Sep 17 00:00:00 2001 From: Noah Manger Date: Tue, 1 Sep 2015 12:16:44 -0700 Subject: [PATCH 2/7] Implementing mobile nav --- templates/layouts/main.html | 4 +--- templates/partials/navigation.html | 20 ++++++++++++++++---- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/templates/layouts/main.html b/templates/layouts/main.html index a9b52f816..17bbcbd41 100644 --- a/templates/layouts/main.html +++ b/templates/layouts/main.html @@ -49,7 +49,7 @@ This site is in beta. Learn more.
- Federal Election Commission | United States of America + Federal Election Commission | United States of America
  • About
  • Contact
  • @@ -79,8 +79,6 @@
-{% include './partials/glossary.html' %} - {% block scripts %}{% endblock %} diff --git a/templates/partials/navigation.html b/templates/partials/navigation.html index d2181c681..c944a41c0 100644 --- a/templates/partials/navigation.html +++ b/templates/partials/navigation.html @@ -1,8 +1,11 @@ -