diff options
Diffstat (limited to 'views/partials/edit-subscription.ejs')
| -rw-r--r-- | views/partials/edit-subscription.ejs | 45 |
1 files changed, 32 insertions, 13 deletions
diff --git a/views/partials/edit-subscription.ejs b/views/partials/edit-subscription.ejs index 0aa5281..1f8db62 100644 --- a/views/partials/edit-subscription.ejs +++ b/views/partials/edit-subscription.ejs @@ -7,24 +7,43 @@ <li class="section_break"> <h3>Edit Subscription</h3> </li> - <li> - [[ if (! user.plan_level) { ]] + <div id="free_plan"> You are currently using the free plan. For access to all of Vvalls features, consider upgrading to a paid plan. <p> <a href="/about/brochure">View the Plans</a> - [[ } else { ]] - Your current plan level is XXX - You have been a member since XXX - $cost/month OR $cost/year + </div> + <div id="free_plan"> + Your current plan level is <span id="user_plan_type"></span> + + <table> + <tr> + <td>Basic plan</td> + <td></td> + <td>@ $<span></span>/<span></span></td> + </tr> + <tr> + <td>Additional basic layouts</td> + <td></td> + <td>@ $<span></span>/<span></span></td> + <td>Buy more</td> + </tr> + <tr> + <td>Additional PRO layouts</td> + <td></td> + <td>$<span></span>/<span></span></td> + <td>Buy more</td> + </tr> + <tr> + <td>Total</td> + <td></td> + <td>$<span></span>/<span></span></td> + </tr> + </table> + + <button>Upgrade your subscription</button> - You are using N basic layouts - Buy more - - You are using N pro layouts - Buy more / Upgrade your account - - Cancel your subscription + <button>Cancel your subscription</button> [[ } ]] </li> </ul> |
