Add link to student and teacher course pages on course details page

This commit is contained in:
Scott Erickson 2015-12-04 09:40:25 -08:00
parent 8d70b5d53f
commit 6a48f3697a

View file

@ -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')