Always show subscription in account dropdown if subscriber

Event if teacher or student.
This commit is contained in:
Matt Lott 2016-05-04 14:08:33 -07:00
parent 40f9b059fd
commit 92de821b76
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ mixin accountLinks
unless me.isStudent()
li
a(href="/account/payments", data-i18n="account.payments")
unless me.isTeacher() || me.isStudent()
if me.hasSubscription() || !(me.isTeacher() || me.isStudent())
li
a(href="/account/subscription", data-i18n="account.subscription")
unless me.isStudent()

View file

@ -35,7 +35,7 @@ block header
unless me.isStudent()
li
a(href="/account/payments", data-i18n="account.payments")
unless me.isTeacher() || me.isStudent()
if me.hasSubscription() || !(me.isTeacher() || me.isStudent())
li
a(href="/account/subscription", data-i18n="account.subscription")
unless me.isStudent()