mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Always show subscription in account dropdown if subscriber
Event if teacher or student.
This commit is contained in:
parent
40f9b059fd
commit
92de821b76
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ mixin accountLinks
|
||||||
unless me.isStudent()
|
unless me.isStudent()
|
||||||
li
|
li
|
||||||
a(href="/account/payments", data-i18n="account.payments")
|
a(href="/account/payments", data-i18n="account.payments")
|
||||||
unless me.isTeacher() || me.isStudent()
|
if me.hasSubscription() || !(me.isTeacher() || me.isStudent())
|
||||||
li
|
li
|
||||||
a(href="/account/subscription", data-i18n="account.subscription")
|
a(href="/account/subscription", data-i18n="account.subscription")
|
||||||
unless me.isStudent()
|
unless me.isStudent()
|
||||||
|
|
|
@ -35,7 +35,7 @@ block header
|
||||||
unless me.isStudent()
|
unless me.isStudent()
|
||||||
li
|
li
|
||||||
a(href="/account/payments", data-i18n="account.payments")
|
a(href="/account/payments", data-i18n="account.payments")
|
||||||
unless me.isTeacher() || me.isStudent()
|
if me.hasSubscription() || !(me.isTeacher() || me.isStudent())
|
||||||
li
|
li
|
||||||
a(href="/account/subscription", data-i18n="account.subscription")
|
a(href="/account/subscription", data-i18n="account.subscription")
|
||||||
unless me.isStudent()
|
unless me.isStudent()
|
||||||
|
|
Loading…
Reference in a new issue