This commit is contained in:
adueck 2022-10-15 21:51:27 +05:00
parent 0a2da5860b
commit 97de5d5a8b
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
</form> </form>
</div> </div>
<% } %> <% } %>
<% if (user.tester && user.level === "student" && user.subscription) { %> <% if (user.level === "student" && user.subscription) { %>
<p>Current subscription: <% if (user.subscription.metadata.cycle === "monthly") { %>$1/month<% } else { %>$10/year<% } %></p> <p>Current subscription: <% if (user.subscription.metadata.cycle === "monthly") { %>$1/month<% } else { %>$10/year<% } %></p>
<p><a href="#" onclick="handleDowngrade()">Downgrade</a> to cancel your subscription</p> <p><a href="#" onclick="handleDowngrade()">Downgrade</a> to cancel your subscription</p>
<% } %> <% } %>