summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-01-31 08:51:55 -0500
committerJules Laplace <jules@okfoc.us>2015-01-31 08:51:55 -0500
commitd08c86d68ceb22665b735054fc3bc316f85f84c1 (patch)
treed91f2151c52e11f7d6df2f4bf2cb859790213aa2 /views
parent6a9418a4256c04c327262947f0fee3b615c93029 (diff)
billing link in footer
Diffstat (limited to 'views')
-rw-r--r--views/partials/footer.ejs6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/partials/footer.ejs b/views/partials/footer.ejs
index e3c572f..8a95fc4 100644
--- a/views/partials/footer.ejs
+++ b/views/partials/footer.ejs
@@ -15,6 +15,12 @@
<a href="/about">About</a>
<a href="/about/howto">How To</a>
+
+ [[ if (logged_in && user.plan_level > 0) { ]]
+ <a href="/profile/billing">Billing</a>
+ [[ } else { ]]
+ <a href="/about/brochure">Subscribe</a>
+ [[ } ]]
<a href="/about/terms">Terms</a>
<a href="/about/privacy">Privacy</a>
<a href="mailto:hello@vvalls.com">Contact</a>