mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 14:33:59 -04: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
app/templates
|
@ -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…
Add table
Add a link
Reference in a new issue