OpenFn / Legacy-OpenFn-iPaaS-v0

OpenFn Integration Platform
https://www.openfn.org
Other
3 stars 4 forks source link

Dynamic action for "pricing.html" page #125

Open taylordowns2000 opened 9 years ago

taylordowns2000 commented 9 years ago

In order to provide a better plan-switching experience, we must build a controller for the "pricing.html" page that can determine if the user is logged in.

We'll then check to see if they are logged in. If they are logged in, the current "signup" buttons beneath each plan will instead say "select plan". They will redirect to user/edit for that user and pre-populate the plan change.

The current plan option will be disabled, and the button will say "Current"

The values in the plan columns will be determined by the actual "plan" records in the db: Plan name, support level, price, maps, submissions/mo., sync speed

taylordowns2000 commented 9 years ago

For displaying plans dynamically, we'll need to add columns to the plan table: