diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-01-30 14:00:02 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-01-30 14:00:02 -0500 |
| commit | 95e2eab9e43a7ea87f23aefba090df15d46d766c (patch) | |
| tree | e28d0d0cc6419ea00de84eba00934d35e41cd03f /views | |
| parent | f637ab20dead5bfdb1430f08b2845bded392c6e6 (diff) | |
calculate total
Diffstat (limited to 'views')
| -rw-r--r-- | views/partials/edit-subscription.ejs | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/views/partials/edit-subscription.ejs b/views/partials/edit-subscription.ejs index 041c6ec..bb7cc27 100644 --- a/views/partials/edit-subscription.ejs +++ b/views/partials/edit-subscription.ejs @@ -17,27 +17,28 @@ Your current plan level is <span data-role="planName"></span> <table> - <tr> + <tr class="planRow"> <td><span data-role="planName"></span></td> <td></td> <td>@ $<span data-role="planCost"></span>/<span data-role="billingInterval"></span></td> </tr> - <tr> + <tr class="basicLayoutRow"> <td>Additional Basic layouts</td> - <td></td> + <td><span data-role="basicLayoutQuantity"></span></td> <td>@ $<span data-role="basicLayoutCost"></span>/<span data-role="billingInterval"></span></td> + <td>$<span data-role="basicLayoutTotal"></span></td> <td>Buy more</td> </tr> - <tr id="proLayoutRow"> + <tr class="proLayoutRow"> <td>Additional Pro layouts</td> - <td><span data-role="basicLayoutQuantity"></span></td> - <td>@ $<span data-role="basicLayoutCost"></span>/<span data-role="billingInterval"></span></td> - <td>Buy more</td> + <td><span data-role="proLayoutQuantity"></span></td> + <td>@ $<span data-role="proLayoutCost"></span>/<span data-role="billingInterval"></span></td> + <td>$<span data-role="proLayoutTotal"></span></td> </tr> - <tr> + <tr class="totalRow"> <td>Total</td> - <td><span data-role="proLayoutQuantity"></span></td> - <td>$<span data-role="proLayoutCost"></span>/<span data-role="billingInterval"></span></td> + <td></td><td></td> + <td>$<span data-role="planTotal"></span></td> </tr> </table> |
