codecombat/app/templates/kinds/user.jade

18 lines
434 B
Text
Raw Normal View History

extends /templates/base
// User pages might have some user page specific header, if not remove this
block content
div
2014-07-15 10:15:21 -04:00
if user && viewName
ol.breadcrumb
li
- var userName = user.get('name');
a(href="/user/#{user.id}") #{userName}
li.active
2014-07-15 10:15:21 -04:00
| #{viewName}
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