codecombat/app/templates/kinds/user.jade

16 lines
419 B
Text

extends /templates/base
// User pages might have some user page specific header, if not remove this
block content
div
if user
ol.breadcrumb
li
- var userName = user.get('name');
a(href="/user/#{user.id}") #{userName}
li.active
| #{currentUserView}
else
// TODO Ruben make this all fancy as soon as we can query users by name
| User not found.