Don't show teacher name for single-player course

This commit is contained in:
Nick Winter 2015-12-04 11:04:18 -08:00
parent 97c28e1c8a
commit 417d4802ee

View file

@ -43,7 +43,7 @@ block content
else
span(data-i18n='courses.unnamed_class')
if !view.owner.isNew() && view.getOwnerName()
if !view.owner.isNew() && view.getOwnerName() && courseInstance.get('name') != 'Single Player'
span.spl.spr - Teacher:
//a(href="/user/#{view.owner.id}") // Don't link to profiles until we improve them
span