ddgriffin / GG-mvp

0 stars 8 forks source link

Change the "Work with..." button styling after you've signed up #43

Closed ddgriffin closed 10 years ago

ddgriffin commented 10 years ago

After you've applied/signedup to work with a maker you get redirected to the details page with a nice flash but the button "work with maker" is still there which is slightly confusing. We should turn the button green with a checkmark AND have the modal that allows you to sign your daugher up

cheyenneweaver commented 10 years ago
cheyenneweaver commented 10 years ago

Workshop buttons: x 1. workshop state = accepted? -- btn-primary "work with __" x 2. workshop state = accepted? && has closed signups -- btn-inverse "signups closed" x 3. workshop state = filled -- btn disabled with icon-checkmark "workshop filled" x 4. work_signup state = confirmed -- btn-success with icon-check "signed up" x 5. workshop state = completed -- btn-inverse with icon-checkmark "workshop has passed"

Apprenticeship buttons: x 1. apprenticeship state = accepted -- btn-primary "work with " x 2. apprenticeship state = filled -- btn diabled with icon-checkmark "apprenticeship filled" x 3. app_signup state = started -- btn-primary "finish applying" (NOT WORKING AS @app_signup) x 4. app_signup state = pending -- btn-warning with icon checkmark "application sent" x 5. app_signup state = accepted -- btn-warning with icon-bell (?) "confirm working with " x 6. app_signup state = confirmed -- btn-success with icon-checkmark "working with " x 7. app_signup state = completed -- btn-inverse "apprenticeship has passed" x 8. app_signup state = canceled -- btn-primary "reapply with "

x Also move the prereg link out from each block of conditional code so they can stand on their own (simpler)

cheyenneweaver commented 10 years ago

I'm having an issue with apprenticeship state = filled because it needs to show up for those not signed in (so can't be && current_user)