mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 15:48:11 -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()
|
||||
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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue