mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 01:55:38 -05:00
Update /courses teacher link based on logged in state
Go to /teachers if logged out Go to /courses/teachers if logged in
This commit is contained in:
parent
68e2b5bf8f
commit
8f7146449b
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,10 @@ extends /templates/base
|
|||
|
||||
block content
|
||||
.pull-right
|
||||
a(href="/courses/teachers") Teachers, click here!
|
||||
if me.isAnonymous()
|
||||
a(href="/teachers") Teachers, click here!
|
||||
else
|
||||
a(href="/courses/teachers") Teachers, click here!
|
||||
br
|
||||
|
||||
#main-content
|
||||
|
|
Loading…
Reference in a new issue