codecombat/app/templates/kinds/user.jade
2014-07-15 16:15:21 +02:00

17 lines
434 B
Text

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