Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CCC start year drop-down #849

Merged
merged 10 commits into from Mar 16, 2018
Merged

Conversation

hdoupe
Copy link
Collaborator

@hdoupe hdoupe commented Mar 16, 2018

This PR adds a drop down menu for the start year in the CCC.

@GoFroggyRun I'm having trouble getting the java script code to link up with the html code. That is the dialogue box doesn't change when I change the start year. Do you have any suggestions?

Also, I removed the staticfiles and fixed the gitignore so that they aren't stored anymore.

cc @jdebacker

$('#current-year-alert').removeClass('hidden');
var currentYear = $('#start-year-select').val();
$('#start-year-select').change(function(e) {
$('#current-year-link').attr('href', '/taxbrain/?start_year=' + $(this).val());
Copy link
Contributor

Choose a reason for hiding this comment

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

@hdoupe After changing '/taxbrain/?start_year=' to '/ccc/?start_year=' on my local, I was able to have the dialogue popping up and working.

screen shot 2018-03-16 at 1 05 59 pm

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nice, thanks @GoFroggyRun. Everything is looking good now.

@hdoupe hdoupe merged commit 7a1b3e5 into ospc-org:master Mar 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants