Display ObjectID in Navbar if no user's name is provided for oauth users

This commit is contained in:
Sahat Yalkabov
2013-12-12 02:27:36 -05:00
parent 03b913252e
commit 81e42085b1

View File

@ -50,7 +50,7 @@ html
a(href='/account')
if user.profile.picture
img(src='#{user.profile.picture}')
= user.profile.name || user.username
= user.profile.name || user.username || user.id
li
a(href='/logout') Logout
.container