summaryrefslogtreecommitdiff
path: root/views/about
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-01-23 17:58:41 -0500
committerJules Laplace <jules@okfoc.us>2015-01-23 17:58:41 -0500
commit5efb0ed941ed80136e63014c4f615574b2b613d7 (patch)
tree721ad13db392d47c5e8fd24a1b4be2de8019a560 /views/about
parent74fb7a313b4d9ad3517e97133febff9cada96fe0 (diff)
edit subscription partial stub
Diffstat (limited to 'views/about')
-rw-r--r--views/about/brochure.ejs12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/about/brochure.ejs b/views/about/brochure.ejs
index cffa51f..1c808f8 100644
--- a/views/about/brochure.ejs
+++ b/views/about/brochure.ejs
@@ -35,9 +35,9 @@
<li>
[[ if (! logged_in) { ]]
<button href="/signup">Sign Up</button>
- [[ } else if (! profile.plan_level || profile.plan_level < plan.level) { ]]
- <button href="https://vvalls.recurly.com/subscribe/basic/[[- profile._id ]]/[[- profile.username ]]">Buy Now</button>
- [[ } else if (profile.plan_level == plan.level) { ]]
+ [[ } else if (! user.plan_level || user.plan_level < plan.level) { ]]
+ <button href="https://vvalls.recurly.com/subscribe/basic/[[- user._id ]]/[[- user.username ]]">Buy Now</button>
+ [[ } else if (user.plan_level == plan.level) { ]]
Current Level
[[ } else { ]]
[[ } ]]
@@ -57,9 +57,9 @@
<li>
[[ if (! logged_in) { ]]
<button href="/signup">Sign Up</button>
- [[ } else if (! profile.plan_level || profile.plan_level < plan.level) { ]]
- <button href="https://vvalls.recurly.com/subscribe/pro/[[- profile._id ]]/[[- profile.username ]]">Buy Now</button>
- [[ } else if (profile.plan_level == plan.level) { ]]
+ [[ } else if (! user.plan_level || user.plan_level < plan.level) { ]]
+ <button href="https://vvalls.recurly.com/subscribe/pro/[[- user._id ]]/[[- user.username ]]">Buy Now</button>
+ [[ } else if (user.plan_level == plan.level) { ]]
Current Level
[[ } ]]
</ul>