codecombat/app/templates/kinds/user.jade
2014-07-30 22:23:43 +02:00

19 lines
441 B
Text

extends /templates/base
// User pages might have some user page specific header, if not remove this
block content
.clearfix
if user && viewName
ol.breadcrumb
li
a(href="/user/#{user.id}") #{user.displayName()}
li.active
| #{viewName}
if !userLoaded
| LOADING
else if !user
// TODO Ruben make this all fancy as soon as we can query users by name
| User not found.