codecombat/app/templates/kinds/user.jade

20 lines
441 B
Text
Raw Normal View History

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