mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-03 00:32:14 -04:00
Add link to student and teacher course pages on course details page
This commit is contained in:
parent
8d70b5d53f
commit
6a48f3697a
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
|||
extends /templates/base
|
||||
|
||||
block content
|
||||
|
||||
h2
|
||||
if view.teacherMode
|
||||
a(href="/courses/teachers") Back to my classrooms
|
||||
else
|
||||
a(href="/courses") Back to my courses
|
||||
hr
|
||||
|
||||
if (noCourseInstance || noCourseInstanceSelected) && course
|
||||
h1= course.get('name')
|
||||
|
|
Loading…
Add table
Reference in a new issue