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 "x spots left" banner to open events on events page and home page #119

Open
ddgriffin opened this issue Oct 18, 2014 · 2 comments
Open
Assignees

Comments

@ddgriffin
Copy link
Owner

We'd like to add a banner to make it easy for people to see which events are still open for applications/signups. (see screenshot)

The frontend goes in:

  1. _event.html.haml & _event_home.html.haml under views > events, and of course the CSS (custom.css.sass)
  • you'll want to go in there and add some logic to check for state: accepted (it might already have this logic, actually), and on the ones that are in state: accepted, have it display the banner by pulling the number of spots left (you can find the logic/math to get the number because it's already displayed on events)
@cheyenneweaver
Copy link
Collaborator

screen shot 2014-10-18 at 12 41 36 pm

@cheyenneweaver
Copy link
Collaborator

@tmctigrit this looks awesome!!! Lets merge it with master :-)

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

No branches or pull requests

3 participants